1) Electricity is the flow of electrons in the form of an electric charge. Static electricity occurs when electrons transfer between two objects that rub against each other, causing one object to build up a negative or positive charge.
2) An electromagnet is produced when an electric current passes through a coil of wire wrapped around a metal core, generating a strong magnetic field. Electromagnetic induction causes a magnetic field to produce electricity - moving a loop of wire through a magnetic field generates an electric current.
3) Direct current from a battery supplies a constant flow of electricity in one direction, while alternating current from a generator alternates direction once per revolution as the electromagnet rotates within a permanent magnet.