This is a gravel cleaner;
It's got a wide tube at one end; that bit goes in your tank, attached to a tube; the free end of that goes in your bucket.
You can either suck on the end of the tube, or you can coil the whole thing up and submerge it in the tank, turning it around so all the air is out. Once the air is out, put your finger or thumb over the small, pipe end and move that to your bucket. As long as the pipe end is lower than your tank, the water will flow out through a syphon action.
The wide, tank end, you stick into the gravel. The water from the gravel, along with all the poo gets sucked up into your bucket, but because the pipe is narrower it doesn't suck up the gravel; that just falls back into the tank.
You should be able to see from that pic that they're easy to make, using an old pop bottle with the bottom cut off for the wide, tank end bit, and a pipe or hose attached to the neck for the narrow bit.
Hope that helps; it sounds far more complicated trying to explain it than it really is!
You can get ones that work off a battery or air pump that, instead of syphoning the water out into a bucket, returns the water to the tank after passing it through a mesh bag that collects the poo, but I don't rate those; you're better off with a plain wide tube/narrow tube one, IMO.
I have the standard Algarde gravel cleaner, which I've been using for over 15 years