An AC generator can be defined as a device that has the ability to convert mechanical energy (which is fed to it as an input) into electrical energy, which may be in the form of alternating current or alternating EMF. AC generators are a specific type of electric generator. The principle under which an AC generator works is that of electromagnetic induction. AC generators typically consist of two different magnetic poles (a south pole and a north pole) that work to establish a uniform magnetic field across it. Slip rings that are made of some metal are placed in the AC generator and are insulated from each other. Carbon brushes are used to connect the slip rings to the circuit. As the rectangular coils rotate (in an axis perpendicular to the uniform magnetic field), a separate shaft also undergoes rotation. Thus, the AC current is generated.