We review the stellar mass loss of red giants and tip-AGB objects analizing the variation in the outflow velocity for different mass models (Wachter et al. 2002). We approach the superwind problem and see the evolution of tip-AGB stars via previously made mass-loss histories that are consistent with the Weidemann initial-final mass relationship (for carbon-rich stars). Finally density profiles are produced from these mass-loss histories, and the corresponding line-of-sight integration is compared with observational data (Phillips et al. 2009). We note the resemblance between the results obtained with our models and the observational data. We are thus able to reproduce the general trends of the emission from simple models (see Verbena et al. 2011).