Nuclear energy powers all modern spacecraft. Fission or fusion themselves provide heat, which is turned into thrust and electricity by the engines and turbines.