Nitrate (NO31-) is a polyatomic ion. It is made up of one nitrogen and three oxygen atoms. It is part of many important molecules. Potassium nitrate is a common type of nitrate. It is often used in fertilizers because plants need both potassium and nitrates to live and grow. Sodium nitrate is also used in preserving foods.