Whole foods can be contaminated through various routes. Environmental pollutants such as heavy metals (e.g., mercury and lead) can accumulate in certain foods. Pesticides used in agriculture can also leave residues on produce. Additionally, improper handling and storage can lead to microbial contamination. It's crucial to wash fruits and vegetables thoroughly and to be mindful of food safety practices to minimize these risks.