This is a simple moisture sensor that can be used to detect soil moisture. If the soil is close to water, the module will output a high level and vice versa. Using this sensor, to a automatic irrigation device to create, with the plants in your garden.
Sensitivity is adjustable (blue setting of the digital potentiometer in the picture)
The module is about a dual output mode, the digital output is simple and the analog output is more accurate.