Final answer:
Heart valves keep blood in the different chambers of the heart from mixing.
Step-by-step explanation:
The structure that keeps blood in the different chambers of the heart from mixing is the valves. Heart valves ensure unidirectional blood flow through the heart. They open and close to allow blood to move from one chamber to another, while preventing backflow and mixing of oxygenated and deoxygenated blood.