Herpes is a common sexually transmitted infection (STI) caused by the herpes simplex virus (HSV). There are two types of HSV: HSV-1, which typically causes oral herpes, and HSV-2, which usually results in genital herpes. The infection can lead to painful sores and outbreaks in the affected areas.