four different stages of the heart and its functions, with one being in an inclosure