The only trains that have sealed windows are the ones with an air conditioning/ climate control system which is very comfortable except when the train is stopped at a station (and the system also stops). Many trains have windows that open. Also trains have the advantage of space to walk around and get away from unpleasant smells.