adjective
Definition: This word is used to express joy or excitement when a discovery or realization is made, often suddenly.
Example: When she found the solution to the problem, she exclaimed, 'Eureka!'
interjection
Definition: This word is used to show excitement or joy when you discover something important or solve a problem.
Example: When she finally solved the puzzle, she shouted, 'Eureka!'