Water level sensor modules are generally minified conductivity liquid level sensors. They predominantly use variable resistance to determine the amount of water in a container. While in the setup function, we initialize the serial interaction at 9600 baud, established the LED pin as output, and ensure It is turned off https://controltechme.com/ultrasonic-level-sensor/