HMGCS2 functions as a tumor suppressor and has a prognostic impact in prostate cancer.