A gas generator is a portable or stationary device that converts gasoline into electrical energy to power appliances, tools, or systems during outages or in off-grid locations. It features an internal combustion engine that drives an alternator to produce electricity. Gas generators are commonly used for emergency backup, outdoor activities, and construction sites, offering varying power outputs to suit different needs. Key features often include portability, multiple outlets, and safety systems like overload protection.