Like other giant stars they are short lived, and do not move far from where they were formed. During their lifetime, they emit huge amounts of ultraviolet radiation. This radiation ionizes the surrounding interstellar gas of the nebula, forming an H II region.