It does but it’s not. The lines indicate the pitch of the notes. notes are named A to G so the lines are names and spaces are named after the notes. A sign at the beginning tells you the speed and there is a sign to tell you which key the music is in and another to tell you the clef which is the basis of the line names.
Then the lines are verticle lines to put the music into small sections. The various words tell you how it should be played such as loud, soft etc. Then the different shape circles on the lines and spaces are for different amounts of time the note is played for.
Basically, that is it. When you start to play you use simplified music so most of that stuff is not used.
Music is essentially a pattern that you follow. using your fingers.