We use the – the definite article – when the listener already knows which thing we are talking about because it was mentioned before or because there's only one of them.
I'm going to take the dog for a walk.
Have you seen the car key?
They go to the school next to the bridge.