What factors influence the regression line? If the line is in fact a curve, how will that influence the regression calculation?

What factors influence the regression line? If the line is in fact a curve, how will that influence the regression calculation?