Curve fitting may involve either interpolation or smoothing. Using interpolation requires an exact fit to the data. With smoothing, a "smooth" function is constructed, that fit the data approximately. A related topic is regression analysis, which focuses more on questions of statistical inference such as how much uncertainty is present in a curve that is fit to data observed with random errors.