apposition
ap·po·si·tion
/ˌæpəˈzıʃən/ noun [ noncount ]
grammar : an arrangement of words in which a noun or noun phrase is followed by another noun or noun phrase that refers to the same thing
In “my friend the doctor,” the word “doctor” is in apposition to “my friend.”