Certainly is an adverb meaning “without doubt; surely, definitely.” It functions to express strong agreement or confirmation, often in response to a prior statement. In speech, it commonly signals polite assurance and can carry a slightly formal or emphatic tone depending on intonation and context.
Full pronunciation guide