It has long been recognized that spinach contains oxalic acid. Oxalic acid is a naturally occurring compound that occurs in many fruits and vegetables. It may be present in spinach because the spinach plant, like other members of the Amaranthaceae family, secretes oxalate into its leaves and stems to protect them from insect damage.