A Nebula is a giant cloud of gas and dust that is formed from the explosion of a star, in which the gas and dust are thrown out, which forms a Nebula. Stars can also be formed inside a Nebula.
The closest Nebula to Earth is the Helix Nebula, which is about 695 light years away.