A keyboard is a musical instrument that is comprised of a combination of long and short keys. Depressing a key causes the keyboard to produce a sound of a certain octave.