In dogs and cats, the heart contains four valves. Opening of a heart valve allows blood to flow freely from one heart chamber into the next chamber or vessel. Closing of the valve prevents blood from “backflowing” (flowing into the previous chamber).