The distance of 8 notes; from one note name up (or down) to the next note of the same name, e.g. from G up to G.
The second illustration shows the children's song 'Twinkle Twinkle Little Star' written out in octaves.
See how the bass part uses octaves to give the music direction
- Interval (H & H Tech)