system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
What is castling in chess?


assistant
Castling is a unique move that can be used to protect the king and develop a rook at the same time. It is the only move in chess where two pieces can move at the same time. During castling, the king moves two steps to its right or left and the rook moves across the king and goes to the position next to the king. Castling can be done only when the following two conditions are satisfied. First, there must not be any other pieces in between the king and the rook. Second, the king and the rook must not have been moved before.