You must have heard the mention of Taraka in Ramayana. But you may not be aware that Taraka was a beautiful and powerful woman, who earlier belonged to the Yaksha clan.
She was married to a Yaksha named Sund. Sund and Taraka had two sons, Subahu and Marich. Sund was a demon. Due to this, he used to trouble the sages and saints a lot.
Once Sund attacked the ashram of sage Agastya Muni. Agastya Muni then cursed Sund, due to which he was burnt to ashes.
Taraka became very angry after hearing the news of her husband's death. She ran to kill Agastya Rishi along with her two sons.
Agastya Rishi did not want to kill Taraka because she was a woman. Therefore the sage did not kill him and cursed Taraka to turn from a woman to an extremely ugly woman.
When Taraka was killed by Lord Rama, she was freed from the curse of Agastya Muni and also got rid of her ugly form.