Magnets are used in many applications such as compasses, which use magnetism to point north. Magnets are also found in speakers, motors, and generators, which convert different forms of energy. Magnets can be used for novelty purposes like magnetic levitation or attaching items to refrigerators. Galvanometers also use magnetism to measure electric current and voltage. Electric motors convert electrical energy to mechanical motion using magnets and electromagnetic coils, and generators do the opposite by converting mechanical rotation into electrical energy.