But in general, most exercises are not purely cardio or purely muscle. For swimming, it probably depends on how intensely you swim and the style (butterfly, backstroke, etc.).