The Gram stain is a widely used method for the classification and differentiation of bacteria based on the physical and chemical properties of their cell walls. Developed by the Danish bacteriologist Hans Christian Gram in 1884, this staining technique categorizes bacteria into two groups: Gram-positive and Gram-negative.