The Interstellar Medium Properties of High Redshift Galaxies