adverb:used to emphasize the speaker's belief that something is true
She will certainly be there on time.
adverb:used to indicate that something is inevitable or bound to happen
If you don't practice, you will certainly fail.
interjection:an interjection expressing willingness or politeness
Certainly! I’ll help you with that.