help??

I bought this car from a personal owner, she told me that it had minor issues with the front motor mount being replaced and the cam shaft sensor the day I drove it the engine shut off in the middle of the road ,I had to switch gears to get it back running so I had asked and she said it had something to do with the problems I stated ,but today when I tried to start the car up ,It tried to crank but it wasn't successful and it said that the battery had died and "check the engine soon" light was on and of course that could mean a lot but if someone could please give me some answers

– help??