IL-1β and TNF-α exhibit a dual effect, demonstrating protective effects during the innate immune response against pathogens and tumors and presenting harmful effects during cancer development. The gene discussed is TNF; the disease is cancer.