Here's how it works:
* "Sweet" describes a noun: "The sweet tea was refreshing." Here, "sweet" tells us about the quality of the tea.
* "Sweet" describes a pronoun: "She smiled sweetly." Here, "sweetly" modifies the pronoun "she" by describing her smile.
In essence, adjectives add detail and richness to our sentences by providing descriptive information about nouns and pronouns.