How the heart behaves