Expansion joints allow for the expansion and contraction of pipe due to temperature change and the shrinkage of building materials that the pipe is connected to. View Document