This is a submersible water pump with a float switch.
It is designed to be fully submerged in the liquid it is pumping.
The float switch allows the pump to automatically turn on or off based on the water level.
These pumps are commonly used for drainage in basements, ponds, or for irrigation and construction sites.