A portable generator is a machine that turns different types of energy, such as gasoline, diesel, or solar energy, into electrical energy. Power stations are rechargeable battery-driven sources that can power your home or campsite.