Gram-staining separates bacteria into Gram-positive and Gram-negative organisms, depending on the thickness of peptidoglycan present in the cell wall; Gram-positive bacteria have a thick layer of peptidoglycan, whereas Gram-negative have a thin layer.