Renewable (will not run out) energy source:
solar, wind, hydropower, geothermal, biomass.
Non-renewable (will run out) energy source:
natural gas, coal, petroleum.
This is how coal is used to generate (make) power:
Coal is made from the trees. The trees and plants stay underground for over a million of years.