Shortly before all the sugar has been fermented away, the cider is put in a new barrel which is made air-tight. The rest of the sugar will then become carbonic acid. This will also add to the life-span of the cider (no pasteurisation is needed).