How do boats sail without the wind?

They don't 'sail'. They might move due to some other force acting on them however. This could include currents, tides etc.