Legumes such as clover provide nitrogen compounds to neighbouring plants such as grasses by fixing nitrogen from the air with symbiotic bacteria in their root nodules. These enable the grasses or other neighbours to produce more protein (with lower inputs of artificial fertiliser) and hence to grow more.