Complex sentence: When Tataka came to know of Sunda's death, she and her sons attacked Agastya to wreak vengeance on the sage.
Split into simpler sentences: When Tataka came to know of Sunda's death, she and her sons attacked Agastya. Tadaka took it upon herself to wreak vengeance on the sage.