Types of energy and their applications