This is the 6th most frequent Arabic word.
الذي
"الذي" means "who," "which," or "that" (relative pronoun, masculine singular).
Here, 'الذي' is a relative pronoun introducing a clause that describes 'الكتاب' (the book).
الكتاب الذي قرأته ممتع جداً.
The book that I read is very enjoyable.
In this sentence, 'الذي' refers to 'الصديق' (the friend) and introduces additional information about him.
الصديق الذي زارني أهداني هدية.
The friend who visited me gave me a gift.
'الذي' connects 'الفيلم' (the movie) to a relative clause that provides more information about it.