how does systemic circulation function