Muslim describes anything related to the religion of Islam.
Swimming is a way of moving when you are in the water, using your arms and legs to push you fowards. There are many different ways of swimming, with names like breaststroke, freestyle, butterfly and the one that most children start with - dog paddle!
You can use the word swim as a noun, as in "I am going for a swim".