Companion planting is the natural gardening method of growing beneficial plants near your crops to boost them, and one particular flower is known to keep pests away.