is there a "remember selection" button?

i always happens, where i take a long time to select alot of edges or faces, then i realised that i need to work on some of the faces, but if i hide them, i can’t work on the other ones

is there a way to do a “remember selection” and then deselect all, then work on it (ie add boundary cuts on some of the selected feces) then recall the old selected faces, then deselect the ones that i don’t need

any? or do i need to learn programming extensions for blender and make it?

vertex groups

And better option if you use Mooseberry branch is face groups.