HHLA2 can function as a prognostic biomarker and correlate with tumor immunity in human pan-cancer due to its important role in tumorigenesis and immune infiltration, which provides new insight into developing new targeted treatments in cancers. Here, HHLA2 is linked to cancer.