Dear student,
We can generate electricity from different sources which are evolving day by day and that sources are classified as renewable and non renewable according to their availability. They have nothing to do with living or non living character.
Regards