Which word is the indirect object in this sentence?

Eric bought his sister flowers as a thank-you for the snowboard

A flowers

B sister

C snowboard

D his