Mains electricity in your home is made with a mechanical windmill, water tubine in a river or steam turbine heated with coal, natual gas or nuclear. Its waveform is a smooth sine-wave at the low frequency of 50Hz or 60Hz.
An inverter operating from a battery can use a sine-wave oscillator and a...