An emission nebula is a cloud of plasma emitting light in many colors. The glowing is caused by a star being near the nebula. There are many types of emission nebula. H II regions are caused when stars are forming and are very hot, causing the plasma to heat up. Planetary nebulae are made when where a dying star has thrown off its outer layers. This causes the core of the star to heat up the plasma.