Understanding Subject and Predicate is the key to good sentence writing.
The subject of a complete sentence is who or what the sentence is about, and the predicate tells about that subject.
The dog ran.
The dog is the subject of the sentence, because the sentence is telling something about that dog. And what is it telling? It says that the dog ran. So in this example the subject is “dog” and the predicate is “ran.”