The properties and distribution of gas and dust within galaxies, which influence their formation and evolution.