In “a red hat,” the adjective “red” is a modifier describing the noun “hat.” In “They were talking loudly,” the adverb “loudly” is a modifier of the verb “talking.”
Appositive phrase, because. it is a phrase that is describing John.
We need to become better human beings and help keep our environment clean for our further benefit. We must learn to use natural resources.