Cycles within natureHigher2 marks

Why are leguminous plants (e.g. peas, beans) useful in agriculture?