Herpes is defined as a highly contagious viral infection that causes eruptions of the skin or mucous membranes.