Companion planting in gardening and agriculture is the planting of different crops in proximity for pest control , pollination , providing habitat for beneficial creatures , maximizing use of space , and to otherwise increase crop productivity .
In gardening and farming , companion planting is the planting of different crops next to each other .