When voltage changes its direction after every half cycle is known as alternating voltage. The current flows in the circuit at that time are known as alternating current. The alternating current(AC) follows the sine function which changes its polarity concerning time. Most of the electrical devices are operating on the ac voltage.