The hot gases, produced by the rapid burning of the fuel, rush out of a jet at the bottom of the rocket at a very high speed. The equal and opposite reaction force of the downward going gases pushes the rocket upwards. A rocket can propel itself even in vacuum because it does not require air for obtaining uplift or for burning its fuel.