* Why: Interrogative Adverb (It introduces a question and describes the reason for something)
* is: Verb (The present tense of the verb "to be")
* it: Pronoun (Subject pronoun, referring to "remembering lessons of history")
* important: Adjective (Describes the noun "it")
* to: Preposition (Introduces the infinitive phrase "remember lessons of history")
* remember: Verb (The infinitive form of the verb "to remember")
* lessons: Noun (The object of the verb "remember")
* of: Preposition (Shows the relationship between "lessons" and "history")
* history: Noun (Object of the preposition "of")
* ? Question Mark (Indicates an interrogative sentence)