Answer:
The answer in cohesion.
Step-by-step explanation:
In linguistics, cohesion refers to the appropiate linking of the different parts of a text. It is different from coherence, which involves larger aspects of meaning; cohesion is mostly grammatical.
The device is in the example is called anaphoric cohesion, which occurs when a previously mentioned subject is referred to again, usually with pronouns.