what is energy resources and its types