I'm replacing my old water heater and all the water lines in the house are CPVC. I'm wondering why there are unions on both the cold and hot lines near the water heater with CPVC running into and out of the unions. I thought unions were used to join different materials like copper and galvanized pipe because of the reactions between them. Is there some reason for them when all the lines are CPVC?