Mercury is an element that can be toxic in various forms, which are tested in different samples: Metallic or elemental mercury is a liquid often used in dental fillings, some thermometers, and batteries. Urine samples are typically tested to detect this form of mercury.