What’s a “1:2 ratio”? And how does it relate to octaves?

About this:

What’s a “1:2 ratio”? And how it relates to octaves?