interjection

aha

a·ha, uh-HAH, from Imitative

Used to express sudden understanding or the satisfaction of finding something out.

“Aha, the missing key was under the cushion!”

Similar and opposite

Similar: eureka

Where it comes from

This exclamation arose as a representation of a spontaneous vocal sound; its precise origin is uncertain.