What benefit can cooking provide to legumes and grains, counteracting some of the perceived downsides of eating them strictly raw?

Answer

It can deactivate certain naturally occurring anti-nutrients.

Some sources suggest that cooking can deactivate certain naturally occurring anti-nutrients found in legumes and grains, which makes their minerals more accessible to the body.

What benefit can cooking provide to legumes and grains, counteracting some of the perceived downsides of eating them strictly raw?
fooddietnutritionraw