Dacryoadenitis is an inflammation of the lacrimal gland, which is responsible for producing tears. It can be caused by infections, autoimmune diseases, or systemic conditions, leading to symptoms such as swelling, pain, and redness in the outer part of the upper eyelid.