A Pap smear is a screening test used in gynecology to detect abnormal cells in the cervix. The main goal is to identify any potential early changes that could lead to cervical cancer. This test is typically recommended for women starting at the age of 21 and is part of routine gynecological care.