how do magnets help us used of electric power and different industries