The function of the canister was to reduce the carbon dioxide from the breathing gas.
(The function of the canister; was; to reduce the carbon dioxide from the breathing gas)
The function of the canister
was
to reduce the carbon dioxide from the breathing gas