Why we laugh has been the subject of serious academic study, examples being:
Marvin Minsky in Society of Mind (1986).
Edward de Bono in "The Mechanism of the Mind" (1969) and "I am Right, You are Wrong" (1990).
In 2002, Richard Wiseman conducted a study intended to discover the world's funniest joke.