Complex sentence: Stars must eventually exhaust their supply of hydrogen fuel and burn out; close encounters will gravitationally fling planets from their star systems, and star systems from galaxies.
Split into simpler sentences: Stars must eventually exhaust their supply of hydrogen fuel and burn out. Close encounters will gravitationally fling planets from their star systems, and star systems from galaxies.