Detection of lacZ in tissues typically involves histological staining with X-gal. The tissue samples are fixed, usually with a fixative like glutaraldehyde, and then incubated with a solution containing X-gal. The β-galactosidase enzyme cleaves X-gal, resulting in a blue precipitate that marks the areas of gene expression. The stained tissues can then be examined under a microscope.