Odd Things – Mercury

The use of mercury is prohibited in thermometers, of which a household may have one or two and change every ten years. The use of mercury is virtually compulsory in household light bulbs, of which every household has many and changes every year. Can someone explain?