Nicolas Bouche - April 24, 2015 The role of gas flows in regulating star-forming galaxies Galaxies form stars with low efficiencies, as on average only 10% of the baryons are inside the haloes of galaxies. Galactic super-winds are often invoked to explain this fundamental problem in galaxy formation. Recently, galaxy scaling relations such as the main sequence between SFR and M* and the MZR relation have opened new insights on understanding the balance between accretion and outflows. I will review these aspects in light of the most recent constraints on accretion and on outflows using background quasars.