Dental amalgam has been used as an effective filling material for over 150 years. It is used to fill cavities in posterior teeth (molars and premolars) caused by tooth decay. It consists of a mixture of metals including liquid mercury and a powdered alloy.