The cosmic nebula