Thinking distance
It takes time for a driver to react to a situation. During this reaction time the car carries on moving. The thinking distance is the distance travelled in between the driver realizing he needs to brake and actually braking.
Braking distance
The braking distance is the distance taken to stop once the brakes are applied.