We bought a house that had the kitchen drain pipes like that.
Previous owner poured tons of chicken fat and bacon grease down the sink. The 1 1/2 pipe was down to a 1/2 hole. The fat seemed to have trapped every fiber that came down the pipe so the texture looked like your picture.
I though, meh, easy fix I'll replace the pipe. But then noticed the galvanized pipe went behind a block wall and was resting on an electrical cable. So I had to pull it all out.
Then noticed (while opening the wall) that it had no insulation in the cavity. So I tore it all down to the studs and started over.
Clogged pipe became a $5000 kitchen reno.
But in the end we had new wiring, new plumbing, double sink, new cupboards, new counter top, and the closed in kitchen wall was opened up to make a breakfast bar with a supporting beam across the ceiling.
Looking back $5000 is cheap, today that would be a $20-30k reno if pros came in.

