di cui avevano bisogno

that they needed

→ di
phrase Rare #42,581
that they needed Used in relative clauses to mean 'of which they needed' or more naturally 'that they needed.' It commonly follows expressions like tutto ciò/quello, or a noun phrase, to refer back to something necessary or required.
IT: Comprarono i libri di cui avevano bisogno.
EN: They bought the books they needed.

Tom e Mary hanno preso tutto quello di cui avevano bisogno.

Tom and Mary took everything they needed.

Tom e Mary hanno preso tutto ciò di cui avevano bisogno.

Tom and Mary took everything they needed.

Tom e Mary presero tutto ciò di cui avevano bisogno.

Tom and Mary took everything they needed.

Comprarono i libri di cui avevano bisogno.

They bought the books they needed.