I work in ArcMap 10.4.
I'm looking for a tool/function which would return a list of polygons through which a polyline goes. To be more specific - I have a polygon layer of administrative units and polyline features (gaspipes etc). I made a simple sketch of what I mean (see pic below). Is there a way to return the list of "touched" polygons the polyline "goes" through?