The "aha" experience is known as learning by insight or insight learning. It is when you have a sudden understanding of a question or problem; everything becomes clear, like a lightbulb turning on. It doesn't exist in a vacuum, as things have led up to the realization, but it feels very sudden.