An infection of the female reproductive system that can be caused by some sexually transmitted diseases or other unrelated infections.