The main source of energy for the Earth's ecosystem is: