In which part of the circulatory system does the exchange of oxygen and carbon dioxide take place between blood and cells?