One of the best tools for that task is rubber duck debugging. AI's are better than rubber ducks. Often not very much better, but sometimes an inane comment they make in reply triggers a eureka.
Exactly. One of my favorite things to do is to dump a code path into the context window and ask it to generate a mermaid sequence diagram or a class diagram explaining how everything is connected together.