We further performed immune infiltration profiling, single-cell and spatial transcriptomics analyses, followed by experimental validation using qPCR, CCK-8, colony formation, wound-healing, and flow cytometry assays.<h4>Results</h4>Fifty-one overlapping genes were identified between lorazepam and ovarian cancer, with PTK2 emerging as a central hub gene. Here, PTK2 is linked to ovarian carcinoma.