G banding, or Giemsa banding, is a technique used in histology and cytogenetics to visualize chromosomes. It involves treating chromosomes with trypsin followed by Giemsa stain, which produces a pattern of light and dark bands. These bands are unique to each chromosome, allowing for their identification and analysis.