Rocket propulsion works on Newton's third law and conservation of momentum. As rocket engine expels gases backward at high velocity, the rocket gains equal forward momentum. This momentum exchange allows rockets to work even in vacuum where there's nothing to push against.