The circulatory system works together with the respiratory system to maintain homeostasis by transporting oxygen from the lungs to the body's tissues via the blood vessels. In return, the circulatory system carries carbon dioxide, a waste product of cellular respiration, from the tissues back to the lungs to be exhaled.