Heavy metals such as lead, cadmium, and mercury can contaminate food through environmental pollution. These metals can accumulate in the body over time, leading to toxic effects. For example, mercury in fish is a well-known concern due to its potential impact on neurological development, particularly in fetuses and young children.