While pipe mapping primarily focuses on identifying the location and layout of underground pipes, advanced techniques such as CCTV inspection can also detect leaks, defects, and structural issues within the pipes.