Those sensors are based on the same technique as radar but using light (laser).