Which of the following statements describes the function of an expansion tank in a diesel engine cooling system?