Why do the oceans have currents?

Why do the oceans have currents?