Both of the other answers provided are super helpful, so I just want to add to their explanations. First, I'd like to offer a resource that another Wyzant tutor created: https://www.wyzant.com/resources/lessons/english/grammar/parts-of-a-sentence
Here, Charlotte has included a lot of different examples, which I think are very helpful if you're working with sentences that are more complex. For example, while we often understand the subject to be at the beginning of a sentence, that is not always the case. The subject may be in the middle of the sentence if preceded by a description. We see this in one of Charlotte's examples: Yesterday after lunch the students were complaining about the short recess. Here, "the students" is the subject.
Another great resource for building upon all of this information is here: https://arts.uottawa.ca/writingcentre/en/hypergrammar/the-parts-of-the-sentence
This resource introduces complex subjects and predicates, which simply means that there may be more than one noun in the subject and more than one verb in the predicate.
For example: Team pennants, rock posters and family photographs covered the boy's bedroom walls.
Here we have a complex subject with three nouns: pennants, posters, and photographs.
Another example: Her uncle walked slowly through the Inuit art gallery and admired the powerful sculptures exhibited there.
Here we have a complex predicate with two verbs: walked slowly through the Inuit art gallery and admired the powerful sculptures exhibited there.