Bastila lead Revan into a trapped but instead of killing him または her, whatever gender あなた desided to be, they took Revan erased his/her memory so the Republic used him/her.
When あなた play the game あなた won't confused によって the visions cause the visions is from your past of how あなた were captured and how.