Vaccines often contain antigens that are derived from the pathogens they aim to protect against. These antigens stimulate the immune system to produce antibodies, providing immunity without causing disease. Modern vaccine development may also involve the use of recombinant DNA technology to produce antigens more efficiently.