Trypan blue is a diazo dye that selectively permeates the compromised membranes of dead cells. When introduced to a cell suspension, live cells will exclude the dye and appear clear, while dead cells will absorb the dye and appear blue under a microscope. This property makes trypan blue a useful tool for distinguishing between living and dead cells.