A spacecraft is a vehicle, or machine designed to fly in outer space. Spacecraft are used for a variety of purposes, including communications, earth observation, meteorology, navigation, space colonization, planetary exploration, and transportation of humans and cargo.On a sub-orbital spaceflight, a spacecraft enters space and then returns to the surface, without having gone into an orbit.