Car Stops while driving

My Car stopped twice yesterday while I was driving it. The first time I was in a parking lot driving very slow. The second time I was waiting at a stop light. Both times I had no problems restarting the car.

It is an automatic transmission Honda Civic. Battery had been changed about four years ago.