A keyboard instrument is any musical instrument played using a row of levers called keys. Pressing these keys triggers a mechanism that produces sound—either by striking or plucking strings, pumping air, or generating electronic signals.