An optical sensor with an upper surface having a photoelectric conversion
device area and connection pads connected to the photoelectric conversion
device area thereof; a semiconductor structure which has a plurality of
electrodes for external connection; an insulating layer formed on the
periphery of the semiconductor structure; and a first wiring formed on at
least one of the semiconductor structure and the optical sensor and
connecting at least one of the electrodes for external connection of the
semiconductor structure to one of the connection pads of the optical
sensor.