It uses its special mucus to close the wounds of injured Pokémon. The reason for this behavior remains unknown.
Floating in the open sea is how they live. When they find a wounded Pokémon, they embrace it and bring it to shore.