The Euclid Near Infrared Spectro-Photometer (NISP) instrument and science