In Digital Photography, the sensor usually refers to the image sensor that captures the light and turn it into a digital image file. There many different sizes of image sensors and image quality is usually dependent upon the sensor in the camera (with all other things being equal).
Cameras also have light sensors and autofocus sensors, but “the sensor” usually refers to the main image processing sensor.