Electromagnets are crucial to maintaining power supply in a modern industrialized society. They are a component in a generator, which converts mechanical energy into electricity. These are found in power plants which use fossil fuels such as coal or gasoline. Electromagnets are also components in turbine-driven generators, such as those found in hydroelectric plants or in wind-turbine generators. Nuclear power plants employ fission to heat water which is used in steam turbine generators, which also use electromagnets to convert mechanical motion into electricity.
ndfeb magnet