Companion planting is the practice of growing beneficial plants next to each other. This can benefit one or all of the plants in the grouping. Companion planting also masks the smell and shapes of plants which pests use to locate their favourite foods.