Portable generators provide electricity by running a gas-powered engine that turns an on-board alternator to generate electrical power. Power outlets on the unit allow you to plug extension cords, electric-powered tools and appliances into it. In general, the more powerful the generator, the more outlet combinations are available.