The discovery of the genetic code has provided a foundation for understanding heredity and the molecular mechanisms of disease.