Lynch syndrome, also known as hereditary nonpolyposis colorectal cancer (HNPCC), is a genetic condition that increases the risk of various cancers, including endometrial and ovarian cancer. It is caused by mutations in mismatch repair (MMR) genes such as MLH1, MSH2, MSH6, and PMS2.