Comedy is defiance. It's a snort of contempt in the face of fear and anxiety. And it's the laughter that allows hope to creep back on the inhale.
Analyzing humor is like dissecting a frog. Few people are interested and the frog dies of it.

We are all here on earth to help others; what on earth the others are here for I don't know.