Stars and nebulae in deep space