The study of the abnormal functioning of cells, tissues, and organs that cause diseases or disorders in the body.