Both screen and tmux do this, and if you’ve never tried either of them please do!
Much easier to deal with “tabs” in a single terminal session, plus you can detach a session and reattach it later. Screen also has a nice feature that lets you essentially share a terminal session by reattaching it multiple times without disconnecting the other sessions (screen -x).