Polishing is what you do to eliminate the scratches in the paint -- it isn't glazing or waxing or .....
AIO will not undo that process, but if your polish contains any fillers or waxes or oils, AIO will strip those and you may see some marring reappear. You will need to re-polsih those marred areas to get rid of the scratches. At least reduce them to the point of being able to live with them. Some scratches are just too deep to be removed by polishing and the only remedy for that is some touch up paint or a panel repaint.
AIO contains cleaners but doesn't contain waxes. It bonds to the paint -- think of it being the "glue" to attach SG with.
SG adds a glossy layer to the paint and provieds protection against UV and the 3 fatal juices to any paint -- bird juice, bug juice and tree juice.
SG can be layered, adding more gloss at every layer. About 3 layers will maximize the protection and gloss enhancement you can see.
You can top SG with SONUX Acrylic Spritz for QD'ing or add layers of UPP for slickness. SONUS and UPP can be layered on top of SG any time after the first SG goes on the AIO.
Wax can go on top of SG and gives a really wet look. HOWEVER once you wax, you can no longer add SG or UPP or SONUS as those will not bond to wax with any success. When you reach that point, the only option is to strip everything off by re-AIO'ing then start building layers again.