Mastitis is an inflammation of the breast that can be caused by an infection, some type of obstruction, or an allergy.