This tool flips your layer choices. It deselects chosen layers and selects the ones you initially skipped.
To invert layers on your timeline, first select the layers you wish to invert. Then, click the "Inverse Selection" button. This action will deselect the layers you initially selected and instead, select all the other layers you didn't originally choose.