Identify the function of the italicized noun clause.

We are often judged by what we do.

A. subject

B. direct object

C. predicate noun

D. object of a preposition

E. appositive