* Anatomy is the study of the structure of living organisms. It focuses on the parts, their arrangement, and the relationships between them. You might study the heart's chambers, valves, and blood vessels in anatomy.
* Physiology is the study of the function of living organisms. It explores how the different parts work together and how the organism interacts with its environment. Observing a heart beat, pumping blood, and responding to changes in the body is a physiological process.
So, while you are observing the heart, a physical structure, you are primarily interested in its dynamic function, which falls under the realm of physiology.