It takes the supply from the AC source and charges the battery ... costly as compared to the generator of the same rating. A sine wave is a geometric waveform that oscillates (moves up, down ...