Generators can provide power when the main electricity goes out, but they also pose safety risks if not used properly. Fuel-powered portable generators produce dangerous carbon monoxide that can kill if generators are operated indoors or in enclosed spaces without adequate ventilation. Proper generator use and maintenance such as ensuring ventilation, avoiding adding gasoline when the generator is running, and keeping children and pets away can help reduce risks.