What is the purpose of thermal insulation?

The general purpose of all thermal insulation is to reduce the heat exchanges between the piping or environment to the environment.