Dear student
The significance of swelling in leguminous plants:
In root nodules (swelling region) of leguminous plants, a nitrogen-fixing bacteria is present. This bacteria is called Rhizobium. Roots of a legume plant secrete chemical attractants. Bacteria collect over the root hairs and form infection thread. The infected root cell forms a pigment called leghemoglobin. The leghemoglobin protects the nitrogen-fixing enzyme from oxygen.
Regards