Study results show the involvement of hub genes like CCL3, MMP3, and TIMP1 in the pathogenesis of UC. These genes could serve as a novel pharmacological regulator of UC. These could be used as a therapeutic target for treating patients with UC and may serve as biomarkers for immune cell infiltration in colon cancer.