Many electronic components contain metals, such as lead and mercury, that are harmful to your health. While there’s no danger under normal circumstances, once electronics are compressed in a landfill those substances can be released into the environment. For this reason, many cities require electronics to be disposed of with the same care as other hazardous substances, such as gasoline and motor oil.