The riddle
Why Did the Skeleton Cross the Road?
AnswerTo get to the body shop
Two meanings of body
A skeleton is the frame of a body with nothing else on it, so a visit to a shop with that name makes a kind of sense. The joke puts the frame next to the word and lets the listener enjoy the match.
What the listener expects
The question borrows the famous road joke, so listeners expect a plain answer such as getting to the other side. The answer is a place instead, a body shop, which is a repair garage for cars. A skeleton is a body with nothing on it, so a shop with that name suits it.