A device converting mechanical energy into electrical energy is known as a generator. This energy can be stored in a battery or it can also be directly supplied to the lines of homes or industries during a power outage. They are useful devices in places where electricity is a huge problem. Â For example, you need to use a generator in remote places to start your construction project. On the other part, you can use a portable generator in your house for power backup. The Basic