With the deepening development of economic globalization, people's diet culture is increasingly diversified, and food hygiene and safety issues have drawn high attention. Air pollution, water pollution and soil pollution in the environment are becoming increasingly serious, which heavy metal pollution poses a serious threat to food safety in a hidden way. The safety of heavy metal content in agricultural products is related to people's life and health.