The study of changes in the structure and function of organs and tissues that occur in disease or injury.