They are signs that are written at the beginning of the staff and indicate the position of the notes on it. The keys fix the name of the notes and indicate the position they occupy within the general scale.