Legumes incorporate nitrogen gas into their proteins because