An octave is the interval distance 8 notes up in the major scale. If you play a C major scale on the piano, the final note/pitch of the 8-note scale is another C that’s exactly one octave higher than the C where you started.

Musical reference: First two notes of "Somewhere Over The Rainbow"

Did this answer your question?