Melatonin mitigates oral mucositis primarily by inhibiting NF-κB activation, thereby reducing pro-inflammatory cytokine expression (e.g., TNF-α, IL-1β) while also scavenging reactive oxygen species and enhancing antioxidant enzyme activity to protect and repair mucosal tissues. The gene discussed is IL1B; the disease is oral mucositis.