It keeps the oxygen-rich and oxygen-poor blood from mixing