The removal and examination of tissue from a living body to discover the presence, cause, or extent of a disease.