Advantages and limitations of swimming