A panegyric is a literary work that praises or extols the deeds of a person, often a heroic figure. It is usually written in the form of a speech, poem, or formal text that glorifies someone's achievements.