a key signature is a group of sharps or flats which are printed at the beginning of a line/measure of music. it shows which notes have to be changed into sharps or flats. for example: if there is one sharp in the key signature it will be an f sharp. it means that every time the note f is written one plays (or sings) an f sharp (on a keyboard: the black note just to the right of the f) instead.