Humor obviously varies greatly across age and cultural perspectives, but at its most basic: it is a reaction to the violation of an expectation.