Bastila lead Revan into a trapped but instead of killing him au her, whatever gender wewe desided to be, they took Revan erased his/her memory so the Republic used him/her.
When wewe play the game wewe won't confused kwa the visions cause the visions is from your past of how wewe were captured and how.