Yes they are very well educated
The earliest of civilizations were based around river valleys. This allowed them to irrigate fresh water to their crops allowing for better farming and therefore, bigger and better civilizations.
From nitrogenous bacteria found on the surface of leguminous plants. They convert nitrogen into nitrates which is absorbed by plants