A nebula (Latin for 'cloud' or 'fog'; pl. nebulae , nebulæ or nebulas ) is a distinct body of interstellar clouds (which can consist of cosmic dust, hydrogen , helium , molecular clouds ; possibly as ionized gases ). Originally, the term was used to describe any diffused astronomical object , including galaxies beyond the Milky Way . The Andromeda Galaxy , for instance, was once referred to as the Andromeda Nebula (and spiral galaxies in general as "spiral nebulae") before the true nature of galaxies was confirmed in the early 20th century by vesto slipher, Edwin Hubble and others. Edwin Hubble discovered that most nebulae are associated with stars and illuminated by starlight. He also helped categorize nebulae based on the type of light spectra they produced. Most nebulae are of vast size; so...