As the material collapses under its own weight , massive stars may form in the center , and their ultraviolet radiation ionizes the surrounding gas , making it visible at optical wavelengths .
As the material collapses contracts , massive stars may form in the center , and their ultraviolet radiation ionises the surrounding gas , making it visible at optical wavelengths .