The density structure of the interstellar medium (ISM) determines where stars form and release energy, momentum, and heavy elements, driving galaxy evolution. [1][2][3][4] Density variations are seeded and amplified by gas motion, but the exact nature of this motion is unknown across spatial scale and galactic environment. 5 Although dense star-forming gas likely emerges from a combination of instabilities, 6, 7 convergent flows, 8 and turbulence, 9 establishing the precise origin is challenging because it requires quantifying gas motion over many orders of magnitude in spatial scale. Here we measure [10][11][12] the motion of molecular gas in the Milky Way and in nearby galaxy NGC 4321, assembling observations that span an unprecedented spatial dynamic range (10 −1 −10 3 pc). We detect ubiquitous velocity fluctuations across all spatial scales and galactic environments. Statistical analysis of these fluctuations indicates how star-forming gas is assembled. We discover oscillatory gas flows with wavelengths ranging from 0.3−400 pc. These flows are coupled to regularly-spaced density enhancements that likely form via gravitational instabilities. 13,14 We also identify stochastic and scale-free velocity and density fluctuations, consistent with the structure generated in turbulent flows. 9 Our results demonstrate that ISM structure cannot be considered in isolation. Instead, its formation and evolution is controlled by nested, interdependent flows of matter covering many orders of magnitude in spatial scale.We use observations that trace molecular gas in a variety of galactic environments and span a wide range of spatial scales. We measure the position-position-velocity (p-p-v) structure of the molecular ISM from 0.1 pc scales, relevant for individual star-forming cores, up to the scales of individual giant molecular clouds (GMCs), now accessible in nearby galaxies using facilities such as the Atacama Large Millimeter/submillimeter Array (ALMA). On large (from 100 pc to >1000 pc) scales, we analyse observations of nearby galaxy NGC 4321 from the Physics at High Angular resolution in Nearby GalaxieS (PHANGS-ALMA) survey. At intermediate (from 1 pc to 100 pc) scales, we target both the Galactic disc and the Central Molecular Zone (CMZ, i.e. the central 500 pc) of the Milky Way with data from the Galactic Ring Survey 15 and the Mopra CMZ survey, 16 respectively. On small scales (from 0.1 pc to around 10 pc) we include observations of two dense molecular clouds, G035.39-00.33 17 in the Galactic disc and G0.253+0.016 11 in the CMZ.We extract the kinematics of the gas using spectral decomposition, modelling each spectrum as a set of individual Gaussian emission features. [10][11][12] Spectral decomposition is advantageous because it yields a description of all prominent emission features observed in spectroscopic data. We visualise the results using the peak intensities and velocity centroids of the modelled emission features (Figure 1). This method facilitates the detection of small fluctuations in velocity, which can o...