Late Stages of Stellar Evolution