What is the purpose of a cast-iron drainage fitting?
A. To connect pipes of different materials
B. To provide a smooth flow of water
C. To reduce noise in drainage systems
D. To resist corrosion in sewage systems