Endometritis is an inflammation of the inner lining of the uterus, known as the endometrium. This condition is often caused by an infection and can occur in women of all ages, though it is most commonly seen in those who have recently undergone childbirth, miscarriage, or certain medical procedures.