Nut (string instrument)
A nut is a small piece of hard material on a stringed musical instrument, such as a violin, mandolin, guitar, or erhu. It sits at the end of the strings closest to the headstock or scroll, where the strings are held. This small part is an important part of the instrument's stringed musical instrument design.
The nut marks one end of the part of each open string that vibrates, which is the part that makes the sound. It also sets the spacing of the strings across the neck...
Etymology
The word may have come from the German Nut (pronounced "noot"), which means groove or slot. In German, the nut is called Sattel ("saddle"; also Obersattel). The part of a guitar that English speakers call the saddle, the surface of the bridge where the strings rest, is called Stegeinlage or Steg in German. In French, the nut is known as a sillet, which, like the German word, can also mean saddle.
The Italian term capo tasto (or capotasto; "head of fretboard") is the origin of the capo.
Variations
Not all string instruments have nuts like this. Some nuts are cut so deeply that they only space the strings, and these instruments use a zero fret at the start of the scale instead. Zero frets are often found on less expensive instruments because they are easier to set up, but they make open strings sound more like fretted notes, so some high-end instruments use them. On a regular nut, the string slots must be cut to the right depth. Strings that sit too low can buzz against the frets, and strings that sit too high throw off the intonation of fretted notes. Intonation errors happen because a string stretches slightly when it is pressed to a fret, which makes its pitch differ from the intended pitch, such as the equal temperament used for a guitar. Some instruments use a compensated nut, which staggers the starting position of each string to improve tuning across the instrument. Companies such as Music Man and ESP include these nuts on most of their instruments.
Another type is a locking nut, usually used with a locking vibrato system such as a Floyd Rose or Kahler. It clamps the strings, which helps the tuning stay steady when the vibrato bar is used, but the nut must be loosened with an Allen wrench to tune beyond the range of the fine tuners on the bridge. The erhu does not use a hard nut. Instead, it uses a qiān jin (千斤), a loop of string, or, less commonly, a metal hook. Some guitars have a rolling nut, made popular by Fender, where the strings sit on roller bearings instead of slots. The rollers let the strings slide freely, which helps keep the guitar in tune.
Keyboard instruments
The word "nut" is also used for bridges on some keyboard instruments. On harpsichords, it refers to a bridge that does not make sound, found near the tuning pins on the side away from the player. On virginals, it usually refers to the bridge on the left side, away from the tuning pins. People do not always use the word the same way.

Quiz time!
5 questions about Nut (string instrument)
What does the nut mark at one end?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Nut (string instrument), available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.