Every rational number has a base-2 representation, but only the ones with denominators that are powers of 2 will require a finite number of bits to fully represent it.
For example,




whereas a number whose denominator contains anything else like 1/3 will need an infinite number of bits to represent it exactly.

and so on, so that it has a repeating but non-terminating base-2 representation
