Star formation, as shown in this artist's impression, results in a complicated system in which the young star is surrounded by a disc of gas and dust. This matter then follows one of three different routes. It finds its way onto the star through magnetic funnels, or stays in the disc to form planets, or is thrown clear of the system in a wind or jet created by the overall magnetic field.