In psychology, insight occurs when a solution to a problem presents itself quickly and without warning. It is the sudden discovery of the correct solution following incorrect attempts based on trial and error. Solutions via Insight have been proven to be more accurate than non-insight solutions.
Insight was first studied by Gestalt Psychology, in the early part of the 20th century, during the search for an alternative to associationism and the associationistic view of learning. Some proposed potential mechanisms for insight include: suddenly seeing the problem in a new way, connecting the problem to another relevant problem/solution pair, releasing past experiences that are blocking the solution, or seeing problem in a larger, coherent context.
Prajñā (Sanskrit) or paññā (Pāli) "wisdom" is insight in the true nature of reality, namely primarily anicca (impermanence), dukkha (dissatisfaction or suffering), anattā (non-self) and śūnyatā (emptiness).