This system allows gas exchange between cells and the environment:

a. Circulatory
b. Respiratory
c. Nervous
d. Endocrine

b. Respiratory

b. Respiratory

The correct answer is b. Respiratory.

To arrive at this answer, we need to understand the function of each system listed.

a. The circulatory system is responsible for the transportation of oxygen and nutrients to cells and the removal of waste products. It relies on the heart and blood vessels to circulate blood throughout the body.

b. The respiratory system is primarily responsible for the exchange of gases, namely oxygen and carbon dioxide, between the body and the environment. It is composed of organs such as the lungs, trachea, and bronchi that facilitate this exchange.

c. The nervous system is responsible for transmitting signals between different parts of the body. While it does play a role in regulating respiration, it is not specifically responsible for gas exchange.

d. The endocrine system is responsible for producing and releasing hormones that help regulate various bodily processes. It does not directly facilitate gas exchange.

Given the context of gas exchange between cells and the environment, the option that specifically addresses this function is the respiratory system (b).