Generators consist of two big elements: an engine and an alternator. The engine turns the alternator, producing AC (alternating latest) power that goes through a voltage regulator to provide 120 volts or 240 volts, as https://vinnytekc176671.jts-blog.com/27272442/what-is-the-best-power-generator-on-the-market-things-to-know-before-you-buy