Cytology plays a crucial role in medical diagnostics by identifying cellular abnormalities that may indicate diseases. For example, the Pap smear is a cytological test that detects precancerous and cancerous cells in the cervix. Similarly, cytology can identify infections, inflammatory diseases, and malignancies in various body fluids and tissues.