Metonymy.
Metonymy when used in literature refers to not using the formal word for something and instead using another word for a subject or object. This word is linked to the formal version of the word.
6.0m questions
7.8m answers