What parts act like doors that control blood flow in the heart?