Spline regression involves dividing the range of the independent variable into segments and fitting separate polynomial functions to each segment. These segments are connected at points called knots. The polynomial functions are chosen to ensure that the curves join smoothly at the knots, thus maintaining continuity and smoothness in the overall fit.