Why do girls like humour in guys?

So, according to internet, girls are attracted to humourous guys. My question is WWHY?

I mean face, body , etc is due to biological attraction, monkey 🧠, and personality is understandable, however humour does nothing.

Is it just immature teenager's thing, or is this attractive to mature adult womens too?