The circulatory system also called the cardiovascular system or the vascular system, is an organ system that permits blood to circulate and transport nutrients (such as amino acids and electrolytes), oxygen, carbon dioxide, hormones, and blood cells to and from the cells in the body to provide nourishment and help in fighting diseases, stabilize temperature and pH, and maintain homeostasis. The circulatory system consists of three independent systems that work together: the heart (cardiovascular), lungs (pulmonary), and arteries, veins, coronary and portal vessels (systemic). The system is responsible for the flow of blood, nutrients, oxygen and other gases, and as well as hormones to and from cells. In birds and mammals, the primary organ of the cardiovascular system is a four-chambered heart, with its associated blood vessels. In other vertebrates, the heart can have either two or three chambers.