Soil moisture sensors measure the moisture levels in the soil and provide real-time data to smart controllers or irrigation systems. This data enables the system to adjust irrigation schedules accordingly, applying water only when the soil moisture levels fall below a certain threshold. By ensuring that the soil is not overwatered or underwatered, soil moisture sensors help reduce water waste and optimize irrigation efficiency.