A vaccine is an antigenic preparation used to establish immunity to a disease. The term derives from Edward Jenner's use of cowpox ("vacca" means cow in Latin), which, when administered to humans, provided them protection against smallpox, which Louis Pasteur and others perpetuated. Jenner realized that milkmaids who had contact with cowpox did not get smallpox. The process of distributing and administrating vaccines is referred to as vaccination.
Vaccines can be prophylactic (e.g. to prevent or ameliorate the effects of a future infection by any natural or "wild" pathogen), or therapeutic (e.g. vaccines against cancer are also being investigated; see cancer vaccine).