The subject refers to the word or words taking an action. It is likely a noun: person, place, thing, animal, or idea. They are the doer of the sentence. The direct object of a sentence refers to what the subject acting upon. The subject is doing the verb to the direct object.