Describe the mechanisms in place to prevent the blood from flowing in the wrong direction through the heart.