Every complete sentence has at least two parts: the subject and the predicate. SUBJECT + PREDICATE subject + predicate + direct object + verb
The woman has a dog.
The woman upstairs has a dog that barks.
The woman upstairs in apartment C has a huge dog that barks all night and keeps me awake.
The elderly woman upstairs in apartment C, which faces the courtyard, has a huge, shaggy dog that usually barks all night and keeps me awake until nearly dawn.
John, my cousin, swims every day.
John, my cousin, who lives in Gary, swims every day during the summer, even when it's cloudy and cool.