Solar energy is an infinite source of energy and we will never run out of it till the end of the world. On the other hand, other resources and oil reserves will last for as long as 40-50 years from now.
Solar energy is a renewable source of energy which can never get out of stock.