Mesalazine is an anti-inflammatory agent. Mesalazine Rectal Foam is used for the treatment of inflammation of the large intestine (colon) and rectum (back passage) known as ulcerative colitis.