Choose the word in the sentence below that functions as the subject.

Tom offered me a piece of the cake.
(A)Tom
(B)offered
(C)piece
(D)cake

(CHOOSE CARFULLY)