If a sentence like, “Here is the book. You lent me this book.” can be clubbed and written as “Here is the book that you me.” then in the later sentence the word that is serving the purpose of both conjunction and pronoun which is known as the Relative Pronoun. Relative pronoun refers or relates to antecedent of a noun.
For example, Rahul has failed in an exam which he had attempted yesterday.