Spaceships move in space by utilizing Newton's first law and the conservation of linear momentum, which means they can change direction or accelerate by expelling mass in the opposite direction. This propulsion method is exemplified by rocket engines that eject gas, creating thrust through the principle of equal and opposite reactions. Friction does not play a role in the movement of spaceships in the vacuum of space, as there is nothing to push off from. Analogies such as throwing a ball while on skates illustrate how momentum works in a frictionless environment. Understanding these principles clarifies how spacecraft can navigate through space without relying on friction.