Castanets are a percussion instrument often associated with Spanish music and dance, particularly flamenco. They consist of two handheld pieces, typically made of wood or plastic, that are clicked together to produce a sharp, rhythmic sound. Musicians use castanets to accentuate the beat and enhance the performance, adding a lively, dynamic element to the music. They are traditionally played by dancers and can also be used in orchestral settings.