Does a nebula become a star?