How does circulatory and respiratory work together