Gas sensor with ESP-01 can't connect to WIFI

Can you connect if you don't plug the gas sensor in? If not, then the gas sensor is NOT the problem.

38000 is a weird baud rate. Why do you think it is the correct rate to use?