Many farmers around the world know the value of growing legumes along with their main crops, or between harvests. The legumes replace nitrogen used by crops. ... They capture the atmospheric nitrogen that has entered the soil. The nodules change the nitrogen into ammonia, a form of nitrogen that plants can use.