Magnets can power a fan.
The magnet has a magnetic field which can induce voltage into the coil.
Electric fans and battery powered fans are actually powered by magnetism as the voltage induced into the motor and the rotor and stator create magnetism which cause the rotor to spin which turns the fan blade.
The electricity that comes into your home is also from magnetism where generators are spinning and creating voltage through magnetism.
Moving magnetic fields pull and push electrons.
Metals such as copper and aluminum have electrons that are loosely held.
Moving a magnet around a coil of wire, or moving a coil of wire around a magnet, pushes the electrons in the wire and creates an electrical current.
The fact that electricity can be generated from magnets has sparked several modern inventions, including electric generators, transformers, and electric motors.
Magnets have uses beyond being interesting toys and sticking things on metal, and one of the most widespread uses of magnets in industry is in electric motors.
In electric motors, the magnet is used to generate rotation using electrical current passing through loops of wire.