Magnetic attraction helps fridge magnets stick to the fridge. The force that holds the magnet to the refrigerator is the force that turns the motor and creates an electric current in the generator.