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


A.

The students at Birchwood Elementary put on a play.


B.

All the students went on the field trip to the museum.


C.

It is important that students eat a good breakfast.


D.

Mr. Smith gave the students a list of books to buy.