Both words are adverbs.Originally Posted by billy
Ironically means in a way that was completely unexpected.
John studied most of the night for an important examination. Ironically, this caused him to oversleep and miss the exam.
Literally means exactly as written or in the strictest interpretation of what was said or written. Unfortunately, "literally" is often used in a way that is opposite to its meaning.
When the boss asks for you to come to his office in five minutes, he means it lterally. (normal use)
Even though John came up with the best presentation, the boss literally threw him to the wolves. (usage problem - there were no wolves in the room).