Scale factors are used to refer to the velocity of expansion of the universe, curvature of the universe, etc. Scale factors can be defined in the form $D(t)=a(t)D(t_o)$, meaning that scale factors can be used as a ratio of distance between any two galaxies. But at the same time, I don't understand that scale factors can also be represented by curvature radius. The change in the scale factor means that the distance between the two galaxies changes, which means you can consider the scale factor as a distance or radius of the universe.
To sum up, is the scale factor the distance between ants on the balloon? Could you illustrate the difference between distance and scale factor?