Histopathology is the study of tissue samples under a microscope to diagnose diseases, especially cancer, by examining cell structure and abnormalities.