Vaccines are crucial in preventing infections that might otherwise require antibiotic or antiviral treatment. For example, vaccines for influenza, measles, and chickenpox can significantly reduce the incidence of these diseases, thereby reducing the need for antiviral medications.