A police officer broke the vehicle's window to get the child out.
Witnesses said the baby, who was probably about eight months old, was sweaty and crying.
Police said it took about 10 minutes to find the baby's mother, who was inside a store.
It's unclear for how long the child had been left.
Police have not said whether the mother will face charges.
The child was taken to hospital to be examined.