Multi-wavelength studies of the interstellar medium and star formation in nearby galaxies