Scientists have created a Bose-Einstein condensate for the first time in space on board a research rocket.