Stimulator of interferon genes (STING) is a crucial adaptor protein in the innate immune response. STING activation triggers cytokine secretion, including type Ⅰ interferon and initiates T cell-mediated adaptive immunity. The activated immune system converts "cold tumors" into "hot tumors" that are highly responsive to T cells by recruiting them to the tumor microenvironment, ultimately leading to potent and long-lasting anti-tumor effects. Unlike most immune checkpoint inhibitors, STING agonists represent a groundbreaking class of innate immune agonists that hold great potential for effectively targeting various cancer populations and are poised to become a blockbuster in tumor immunotherapy. This review will focus on the correlation between the STING signaling pathway and tumor immunity, as well as explore the impact of STING activation on other biological processes. Ultimately, we will summarize the development and optimization of STING agonists from a medicinal chemistry perspective, evaluate their potential in cancer therapy, and identify possible challenges for future advancement.