Oh, maybe you mean straighten Edge Loops in the direction of a specific Edge.
That could be done by Selecting that specific Edge and then click on the plus in the Transform Orientations to make a Custom Transform Orientation:

Then you can Select the Edge Loop that you want to straighten and Scale: S, SHIFT Y, 0.