There are multiple different screenshot tools you can use. On 22.04 there should be a default and interactive screenshot utility.
Press the following key on your keyboard (or launch "take a screenshot" from the Activities menu):
PRINT = launch the screenshot utility
From here, you can use the following keyboard shortcuts:
S = Select area
C = Capture screen
W = Capture window
P = Toggle between show and hide pointer
V = Toggle between screenshot and screencast
ENTER = Capture, also activated by Space or Ctrl+C
You can also use the following keyboard shortcuts any time without first launching the screenshot utility:
ALT+PRINT = screenshot the current window
SHIFT+PRINT = clip a selection of the screen similar to snippet
CTRL+SHIFT+ALT+R = start or stop a screen video recording or "screencast"
Or you can use an alternative screenshot tool. If you are using the default Ubuntu desktop, you would probably want to use gnome-screenshot
and you can either install it through the software center or you can run the following commands to install this app:
sudo apt update
sudo apt install gnome-screenshot
Then, look for gnome screenshot in your dash and launch the app. It will give you options like if you want to take a selection from the screen which is more like snippet or if you want to simply take an entire screenshot.
Aside from Gnome Screenshot, another good option is Kazam.