The subject and object play different roles in a sentence. See here for how to distinguish between the two.
Source: LaShanda Lawrence