Tech Mahindra interview question

Explain about sensors