Here is a category of lesser known apps I use everyday: Text recognition. Want to copy text in an image? Or copy text on a website that won't allow you to copy? Both of the following apps use a similar keyboard shortcut to the screenshot shortcuts you already know, command + shift + 2. Now you can copy any text on your screen.

TextSniper - $6.99 https://textsniper.app

TRex - free https://github.com/amebalabs/TRex

And if you want to invoke it from Terminal: https://github.com/schappim/macOCR