Most of our energy consumption is based on energy from fossil fuels.
Fossil fuels are non-renewable.
With population growth and overuse, fossil fuels are getting depleted.
Thus, solar power is more attractive source of energy as fossil fuels are getting depleted.