AC electricity is generated by spinning a generator. [Sin waves are linked to circular motion](https://i.stack.imgur.com/pQ377.gif).
So the AC coming out of a spinning generator is naturally a sin wave.
Now AC doesn’t *have* to be a sin wave, cheap DC to AC converters use a square wave but the sudden change from positive to negative tends to cause transformers in electronics to make a buzzing sound that you don’t get from a smooth sin wave.
Latest Answers