materials.
Copper, for example, is widely used in hot-water systems and can handle temperatures far above typical household hot-water temperatures.
Cast iron is also relatively resistant to heat.
But that doesn’t mean boiling water is always a good drain-cleaning strategy for a metal plumbing system.
A drain may contain multiple materials.
For example, you might have:
Metal pipe → plastic connection → rubber seal → plastic trap
The entire system is only as resilient as its components.
And high-temperature water doesn’t necessarily solve the blockage you’re trying to remove.