Chemicals such as oxygen, carbon dioxide and dissolved food need to be transported into and out of cells. This is done by the processes of diffusion and osmosis, and these processes depend on the body's water and salt balance, which are maintained by homeostasis.