Question: what is the difference between a key and an octave?
Answer: Octave: it's a separation. One octave separates two frequencies which are on a 2:1 ratio. Key: it's the reference of the sound. Change the key and you change every note.