Solar energy is the major source of power for most terrestrial ecosystems, as it provides the energy that drives photosynthesis in plants.