Generators include two main components: an engine and an alternator. The motor turns the alternator, producing AC (alternating current) power that goes by way of a voltage regulator to deliver 120 volts or 240 volts, as https://woodymxie906688.dailyblogzz.com/28249099/best-generator-for-when-power-goes-out-an-overview