Cancer labels are determined through a combination of biopsy results, imaging tests, and genetic analysis. Pathologists examine tissue samples to identify cell types and characteristics, which are then used to classify the cancer. The American Joint Committee on Cancer (AJCC) provides a standardized system, known as the TNM classification, which considers the size and extent of the tumor, lymph node involvement, and metastasis.