How does the circulatory system and respiratory system work together?