I read that if some spacecraft's trajectory is carefully planned, i.e. if it can slingshot (at loss of a better word) a massive body like a planet, it can gain speed. Is that correct ?
Does solar system actually lose some energy to such a space craft in this way ?