The comet assay involves embedding cells in agarose gel on a microscope slide, lysing them to remove membranes and soluble cellular components, and then subjecting the remaining nucleoid to electrophoresis. The DNA migrates out of the nucleoid and forms a shape that resembles a comet, with a head and a tail. The extent of DNA migration (tail length and intensity) reflects the amount of DNA damage.