In wind turbines, magnets are mainly used to generate magnetic fields to achieve the conversion of electrical energy. The rotor in the generator contains a set of magnets, and the stator contains an electric coil. When the magnet in the rotor rotates, the electrons in the electric coil move with it, resulting in a current output. Therefore, magnets play an important role in wind turbines, which can generate a constant magnetic field, so as to achieve the output of electricity.