The materials in common use today — copper, PVC and CPVC, PEX ... In some cases, you can do it by taking two threaded adapters of different materials and screwing them together.