Surface-driven flows (also called osmotic flows) are generated at interfaces by various thermodynamic gradients (e.g. electric potential gradient: electro-osmosis, solute concentration gradient: diffusio-osmosis, temperature gradient: thermos-osmosis). They represent powerful tools to manipulate liquids in micro and nanofluidic systems, and play a key role in living systems, in sustainable energies, or in water treatment and desalination processes. Osmotic flows arise from the coupling between hydrodynamics and liquid-wall interactions in the nanometric vicinity of the interface, and yet standard descriptions are usually based on continuum models and liquid-wall interactions only. During this talk I will illustrate with recent work how molecular dynamics simulations can be used to investigate the mechanisms underlying surface-driven flow, and in particular to explore the role of interfacial hydrodynamics.