The brainstem and cerebellum
The oldest parts of the brain keep it running without thought, the medulla for breathing and heartbeat, the reticular activating system for alertness and the reward center for what feels worth repeating, while the cerebellum coordinates movement and balance and stores practiced skills.
From AP Psychology.