Explain · Like I'm five version
Castling in chess in terms of a fire drill
Castling in chess is just like doing a fire drill at school when you really need to get your king to a safe place.
When the teacher rings the loud bell, you stop what you are doing and move very quickly. In chess, moving your king and your rook at the same time is like the teacher helping you rush to the playground. You jump the king two squares to the side and the rook hops over to stand right next to him. It keeps the king tucked away safely behind a wall of pawns, just like how you stand in a nice straight line away from the building.
You cannot do this move if the king or rook has already gone for a walk earlier in the game. It is just like the fire drill rules, because you cannot join the line if you are already hiding in the toilets or busy playing in the sandpit. You also have to make sure no pieces are blocking the path, because nobody wants to bump into their friends while trying to be sensible. If an enemy piece is watching the squares you need to cross, you have to wait for another day.
Once you have castled, your king feels much better because he is protected by his heavy rook. It is the best way to make sure the game keeps going without anyone getting into trouble too early. You have done your job well, the king is tucked in tight, and you can get back to your proper lesson.
Where the analogy breaks downIn a real fire drill, you never want the rook to block the path to the emergency exit.