It's called a water flosser from Waterpik or air flosser from Philips.
The waterpik shoots water between your gums and cleans more thoroughly but it needs a large amount of water which means either a big countertop model with a large reservoir, or a compact model with a small reservoir you need to fill multiple times per use. It's also more intense than the air flosser and you have to either spit out the water after your mouth is full, or let your head hang and do it with your mouth open. So it can get very messy if you do it wrong.
The air flosser uses mostly air with small droplets of water so it's more compact and less intense but in my experience doesn't clean as well. (My last comparison is from 4-5 years ago, so it might be different now). It's easier to learn to use and less messy and uncomfortable at the beginning.
I've used both and I'm a huge fan of the Waterpik but there is definitely a big adjustment period for a lot of people. I've ended up spraying my face, the mirror, the ceiling, and pretty much everything in between when I was learning. And the feeling of the water was very intense even on the lowest setting. I also had to spit out the water and refill the reservoir very often because I was doing it too slowly.
Now I've been using it for years and I'm very used to it. There is no mess now and it's very quick and leaves my teeth completely clean so I dont ever need to use a normal floss. I'm very used to the sensation so I use a higher speed and dont even feel it. I have the older handheld model and I dont have to refill it per clean because I go fast enough now. I dont like having my mouth open en the water running out zo I need to spit it out about 1-2 times. So if you are willing to go through the adjustment period, the Waterpik is absolutely amazing, especially if you hate flossing like I do.
I have less to say about the air flosser because I used it for a lot less time but I was very impressed with how comfortable and compact it was. It was a lot easier to bring on vacation and using it was a very soft, pleasent sensation, a bit ticklish and weird at first! I did occasionally have to use normal floss afterwards and I remember I used to have issues with my gums more often and had more cleaning done so it definitely wasn't cleaning as well as the Waterpik.
They have more compact Waterpik models too now and the air flosser might be different room But they are still completely different, so if you can, try both and return the one you dont like