Driving along and all the lights came on and the car stopped. Why on 2001 Ford Escort

Turn the key and nothing, no noise, no nothing.
Has gas, oil, anti freeze, the car ran well until yesterday.

Asked by for the 2001 Ford Escort
ck charging system poss bad alt
Thanks for the info, but found out it was the timming chain.