In which sentence is the word team used as an indirect object?

A.
Our team won the first three games of the season.

B.
Bryan is the best player on our team.

C.
The sponsor bought the team new uniforms.

D.
Three players joined the team this week.