MIRI does medium-resolution images using longer wavelengths. NIRCam is IR and higher resolution but shorter wavelengths