This is because you want to find an equation that could describe the general behavior of the data points. If you connect the dots, we would not be able to find the equation for that because of the broken lines. In data regression, you find a line that could fit all of the data points. Then, you find the equation of the smooth line. This equation will be used for further calculations of projections at similar conditions.