user
Task: Categorize this passage into its grammatical components

The sun shone brightly on the garden, warming the sweet-smelling flowers.

Answer:
assistant
Subject: The sun
Verb: shone
Adjective: brightly
Prepositional Phrase: on the garden
Verb: warming
Adjective: sweet-smelling
Object: flowers