TUNEL assay involves labeling the ends of fragmented DNA. The enzyme Terminal deoxynucleotidyl transferase (TdT) is used to add labeled nucleotides to the 3'-OH ends of DNA fragments. These nucleotides can be tagged with a marker, usually a fluorescent dye or an enzyme like horseradish peroxidase, allowing for visual detection under a microscope.