All questions are a bit too general but could try some basic answers.
Regression tools purpose is to find the best true geometry through a set of points. The points can be COGO points or/and the result of the convert to centerline command (from 2 rails…