The plumbing pipes are widely split up into metal and not-metal, with steel, copper, PVC, CPVC and PEX being the most often used materials for piping. read here
The PVC pipes alone are used for cold water (since warm water is utilised for the drain) and are generally used for drainage; they are usually white or grey and are less costly than the metal pipes. The PVC chloride pipes are usually white or grey.
The CPVC is polyvinyl chloride and the CPVC pipes handle cold and hot water; the yellow colour of the CPVC pipes and their thinner walls and the fact that they are more flexible are one method to distinguish CPVC from PVC pipes.
Polyethylene (PEX) pipes are characterised not only by being able to handle hot and cold water, they also have a high flexibility, a lower leakage than any other non-metallic pipes, and even a greater heat-resistance. The PEX pipes are available in three colours, white or red and blue, respectively to signify hot or cold water.
Copper was utilised for long periods for plumbing pipes and became popular in the 1960s. Copper is also more costly than most other plumbing materials, and copper pipes can divide at very low temperatures, since they provide durability and corrosion, as well as a great temperature strength.
Steel pipes: the material of piping also includes the galvanised and, less frequently, the stainless steel. The galvanised pipes are usually seen in older houses and are rarely utilised nowadays since they are susceptible to leakage and corrosion inside. They are being gradually replaced with PEX pipes that are as robust and less expensive.