Question

Forgive me if there are no spoilers due to not knowing who has gotten through most of the games. But, didn't Tira die at the end of her story in 4? If so, how is she alive in 5? I know 6 is a midquel. It just started bugging me after all this time and I don't remember all of the details because it's been so long.