One raindrop, one slice of colour
A rainbow forms when sunlight enters raindrops, bends, reflects once off the inside back of each drop, and bends again on the way out. Bending separates white light into its colours, because each colour bends by a slightly different amount. Each drop sends one colour to your eye, depending on the exact angle.
The geometry is strict: the bow appears around the point exactly opposite the Sun, at an angle of about 42 degrees for the main bow. That fixed angle is why a rainbow is an arc of a circle — and why the circle's centre sits below the horizon when the Sun is up.
Seeing the whole thing
From a mountain ridge or an aircraft, with rain below and Sun behind, the full circle can appear, floating complete around the shadow of the plane. Pilots see this often enough that the phenomenon has a name when it rings the aircraft's shadow: a glory is its close cousin, formed slightly differently.
A second, fainter bow sometimes appears outside the first, at about 51 degrees, with its colours reversed — light that reflected twice inside the drops. Your rainbow is also private: the drops sending light to your eyes are not the ones serving the person beside you. No two people see exactly the same rainbow.

