Sensors detect changes in the surroundings (environment) such as temperature, pressure, light, sound, distance or motion and convert them into electrical signals or digital data. This data is then processed and analysed by AI systems to take suitable action or decisions.