<p>The optical sensor has a transmitting optics (6) which is directly connected to a transmitter (5). The transmitting optics has a concentrator (15) which forms a light guide element for the transmission light beams (4). The total reflection of the transmission light beams takes place on the lateral area (17) of the concentrator. The front side of the concentrator assigned to the transmitter is formed as coupling surface (16) for the transmission light beams. The concentrator consists of plastic.</p>