Immunomodulatory agents are substances that modify the immune system's response. These agents can either enhance or suppress the body's immune function. In the context of cancer, immunomodulatory agents are used to harness the body's natural defense mechanisms to target and destroy cancer cells.