The dynamics of ordinary matter in the Universe follows the laws of (magneto)hydrodynamics. In this course, the system of equations that describes astrophysical fluids will be discussed on the basis of selected astrophysical examples, from the physics of stars, to galaxies and the early Universe.