Complex sentence: She is imprisoned in the Ashoka Vatika of Lanka by Ravana until she is rescued by Rama, who slays her captor.
Split into simpler sentences: She is imprisoned in the Ashoka Vatika of Lanka by Ravana. Until she is rescued by Rama, who slays her captor.