Stars form from dense clouds of gas and dust called the interstellar medium. Young stars undergo two main phases - the protostar phase where they are still contracting and surrounded by an accretion disk, and the pre-main sequence phase where the star reaches stability but is still gaining mass. Star formation is ongoing in many galaxies and can be observed where interstellar material is concentrated, like nebulae which glow due to ionized hydrogen. Understanding star formation required knowledge of stellar structure and evolution as well as the discovery of the interstellar medium as the raw material for new stars.