Famciclovir is an antiviral medication that is commonly used to treat infections caused by herpes viruses, including herpes simplex virus (HSV) and varicella-zoster virus (VZV). It is a prodrug of penciclovir, meaning it is converted into the active form, penciclovir, inside the body.