She was once the TARDIS, a time machine that traveled across time and space. She has since turned into a girl herself, only not a human now. Her new body has two hearts instead of one, and only her consciousness was transferred over. The TARDIS is still operational, only it would take her Doctor where he wanted, instead of where he needed to go.
[TARDIS sidebar background by vampiric-time-lord at deviantart.]