If you put on your swimsuit and are in the water to have fun or get exercise it is SWIMMING. You would take a swim or have a swim
If you are naked and are in the water to get clean it is BATHING (pronounced like bath with an ing on the end). You would take a bath or have a bath