Claviceps purpurea is a fungus that infects rye and other cereal grains, producing a dark, elongated fruiting body known as an ergot. This fungus is a significant agricultural pest and has also been historically important in the development of certain pharmaceuticals.