The definite article "the" is used:
1) When the person you are talking to knows which specific person or thing is being referred to
2) When referring back to something already mentioned
3) When specifying which person or thing is being talked about using a qualifier like a prepositional phrase or relative clause