Is it better to use cast iron or pvc under ground??

Pvc or cast iron

How to tap into it?

How to do it?