A Gram stain is a laboratory technique used to classify bacteria and help identify specific microorganisms. The method was developed by the Danish bacteriologist Hans Christian Gram in 1884. It distinguishes bacteria based on the physical and chemical properties of their cell walls.