Biologically propelled motion through a liquid medium; in contrast of passive swimming, involves the expenditure of energy to travel to a desired location.