<human>:  I have a question about the game of chess. When is it a good idea to sacrifice a piece?
<bot>: Sacrificing a piece is a good idea when you have a strong attack on the enemy king. It is also a good idea to sacrifice a piece when you have a strong attack on the enemy king, but you are not sure if you can win the game.