Subject Definition
The subject or of a sentence is the noun, pronoun or noun phrase that precedes and governs the main verb.
EG. He is a really nice guy. ('He' is the subject of the sentence, controlling the verb and the complement.
My dog attacked the burglar. ('My dog' is the subject, controlling the verb and the rest of the sentence.)