In the unlikely case there's no usable door (and that's very unlikely in a vehicle with that many doors), the windows can be used as an additional emergency exit in the case of an accident or fire. Windows are also very useful for looking into a train from outside.