How to test wifi module with DHT 22 sensor?

I am using a dht22 sensor connected to the arduino like in the photo. I also attached a wifi module (ESP01 8266) to the circuit. How could I test the connection to the wifi module and how could I make sure the data is sent from the sensor via WIFI?

I tested the sensor on the arduino board and could plot its values in the serial monitor. I sent these values over the serial connection. How could I send the data via wifi?

The code for the dht 22 sensor:

#define DHTPIN 3           
#include "DHT.h"

#define DHTTYPE DHT22  
DHT dht(DHTPIN, DHTTYPE);


void setup() {
  Serial.begin(9600);
  dht.begin();


  delay(500);               //Delay to let system boot


  
}

void loop() {
  read_temp_umid();
}

void read_temp_umid()
{
    float temperature = dht.readTemperature();
    float humidity = dht.readHumidity();
    Serial.print(temperature);
    Serial.print(humidity);
    delay(1000);//read every second
}

It looks like You have connected UNO Tx to ESP Tx. That might damage the circuits and is wrong.
Start by getting wifi established.

How should I do this? Should I remove the UNO Tx to ESP Tx?

Yes!
The standard is like this: On the UNO Tx is the output for the UNO "talking". For the ESP the Tx is for "talking". Both are outputs. Do You get it?

Connect UNO Tx to ESP Rx and vice versa!

Hm, I get it. I was using this tutorial and this is telling me the other way though: Arduino Project Hub

For communication, follow my reply.
For programming things, I can't tell anything. Grounding certain pins, putting some HIGH..... Anything is thinkable.
Too much time consuming to follow that "tutorial".
I've seen so called "tutorials" that are made by ignorant people 1 minute after their stuff showed some life. Then viewers come here and ask why every is dead after 5 minutes....
Any crap can appear in tutorials.