Press on the logic source and the courrent will be alternated
"converts the Direct current source into the Alternating current source. ... The function of an inverter is to change a dc input voltage to a symmetric ac output voltage of desired magnitude and frequency."