A herpes infection is caused by the herpes simplex virus (HSV), which comes in two forms: HSV-1, which usually results in oral herpes infections affecting the mouth and lips; and HSV-2, which usually causes genital herpes affecting the genitals and anus.