Complex sentence: In the episode, the Ripper turned out to be a long-lived non-corporeal being that had committed mass murders on many worlds over the centuries to generate fear, the emotion on which it fed. The entity is beamed out into space.
Split into simpler sentences: In the episode, the Ripper turned out to be a long-lived non-corporeal being that had committed mass murders on many worlds over the centuries. It committed the murders to generate fear, the emotion on which it fed. The entity is beamed out into space.