The air in the cabin isn't sealed in. Fresh air is continuously introduced during the flight. A plane's jets are already sucking in and compressing huge volumes of air to burn with the aviation fuel. Some of this is diverted for the passengers to breathe.