Why is it possible for some cars to regulate their own speed?
Cruise control allows your car to maintain or alter its speed without the manual compression of the pedals. It is usually controlled by buttons on a steering wheel. Cruise control systems control a vehicle in the same way that the pedals do, namely by adjusting the throttle position of the engine. A throttle valve controls how much air an engine takes in and ultimately its speed.
The opposite is true for deceleration. Cruise control systems adjust the throttle to accelerate towards the desired speed at a decelerating rate, so that it does not overshoot.