Notably, several genes—such as APP, SRC, and CASP3—participated in multiple enriched terms, underscoring their potential roles in the shared pathogenic mechanisms linking diabetes mellitus and HNSCC, particularly through modulation of neurological signaling, immune pathways, and metabolic homeostasis. This evidence concerns the gene CASP3 and diabetes mellitus.