What is the meaning of 'Why did the chicken cross the road'?

It's a joke it's not funny but its a joke most people older than five would say its not funny any younger its hilarious