Note names
Seven letters give pitches their basic names, but the letter alone does not tell you the octave or spelling.
What the letters identify
Western staff notation cycles through A, B, C, D, E, F and G. On a keyboard, the pattern of white keys repeats every octave. A letter names a pitch class until a register is supplied: C4, for example, means middle C in a common octave-number system. A melody can use the same note name at very different heights.
Try a single-letter melody
Play three Cs in different octaves and then three adjacent white keys. The first sequence changes register while retaining a pitch class; the second changes pitch class. Write a short answer to a melody using the same note names an octave higher. It will feel related, but the higher register may change which instrument should carry it.
When the name is not enough
A sharp or flat changes a named pitch, and two different spellings can point to the same keyboard key in equal temperament. For a collaborator, say the octave and accidental when precision matters. A note name is a useful address, not a description of how loudly or how long the note should be played.
Related entries
Further reading
These source links provide technical background; the exercises above are Eidolon's own editorial guidance.