Sugar is hygroscopic, which means that it both attracts water and holds onto it, leading to a moist cake.reading more