A clef (from French: clef 'key') is a musical symbol used to indicate which notes are represented by the lines and spaces on a musical stave. When a clef is placed on a staff it assigns a particular pitch to one of the five lines, which in turn gives pitch value to the remaining lines and spaces.
The three clef symbols used in modern music notation are the G-clef, F-clef, and C-clef. Placing these clefs on a line fixes a reference note to that line—an F-clef fixes the F below middle C, a C-clef fixes middle C, and a G-clef fixes the G above middle C. In modern music notation, the G-clef is most frequently seen as treble clef (placing G4 on the second line of the stave), and the F-clef as bass clef (placing F3 the fourth line). The C-clef is mostly encountered as alto clef (placing middle C on the third line) or tenor clef (middle C on the fourth line). A clef may be placed on a space instead of a line, but this is rare.
The use of different clefs makes it possible to write music for all instruments and voices, regardless of differences in range. Using different clefs for different instruments and voices allows each part to be written comfortably on a stave with a minimum of ledger lines. To this end, the G-clef is used for high parts, the C-clef for middle parts, and the F-clef for low parts. Transposing instruments can be an exception to this—the same clef is generally used for all instruments in a family, regardless of their sounding pitch. For example, even the low saxophones read in treble clef.