How Can Magnets Produce Electricity