Complex sentence: She took a fatal blow meant for Balsky, in Episode 38, and used the last of her energy to transfer her data into Balsky so he could use it to destroy Metalder and avenge both her and this army.
Split into simpler sentences: She took a fatal blow meant for Balsky, in Episode 38, and used the last of her energy to transfer her data into Balsky. She did this so he could use the data to destroy Metalder and avenge both her and this army.