These are distinct linguistic concepts:
Focus: Grammatical function of words in a sentence.
Categories: Noun, verb, adjective, adverb, pronoun, preposition, conjunction, interjection.
Purpose: Analyze sentence structure and word relationships.
Example: "The quick (adj) brown (adj) fox (noun) jumps (verb) over (prep) the lazy (adj) dog (noun)."
Focus: Non-literal language for rhetorical effect.
Examples: Metaphor, simile, personification, hyperbole, irony, understatement.
Purpose: Enhance vividness, imagination, memorability.
Example: "The storm (metaphor) raged (verb) like a hungry beast (simile)."