Nut
nut

Description:
A small piece of hard material which supports the strings at the end closest to the headstock.

It sets the spacing of the strings across the neck, and usually holds the strings at the proper height from the fingerboard.

Along with the bridge, the nut defines the vibrating lengths of the open strings.