Humans exhale a lot of oxygen along with their waste carbon dioxide. Instead of throwing out this oxygen, a rebreather uses a scrubber to remove the CO2 and replace it with pure oxygen from a bottle.