Why electrical networks use AC voltage ? Why does it have a sine wave shape? How is it generated?