Magnetism is used to produce alternating current (AC). Knowing how AC is produced is important in understanding the way many electrical devices operate.