DHT11 is a sensor used to measure temperature and humidity in the environment. It is used to obtain the ambient temperature in various heat units (celcius, farhenayt, kelvin) and to measure the humidity in the environment in %.
These codes allow us to print humidity and temperature at screen.