Sitcoms are formulaic by design, and even though the cast, types of characters and settings change the situations that lead to the funny bits stay the same.
Situations like main character falls in love with other main character, main characters have a housing crisis on their hands or main character feuds with neighbor are all commonly found in sitcoms- and so are crazy situations like kids crashing cars into houses.
This sort of thing hardly ever happens in real life, but for some reason virtually every sitcom ever made has an episode where a character (usually an unlicensed kid) crashes a car into a house.
This situation wouldn't be funny in real life, but do you know who are funny in real life yet rarely seen outside of a zoo but can be found in a ton of sitcoms too?
Chimpanzees, that's who, and it's no wonder writers include chimps in so many sitcoms even though nobody ever gets to hang out with them in real life- because the on-screen moments are priceless.