She imagined it easy to learn a language.
What does the underlined part function as?
A、adverbial
B、object
C、complement
D、predicate