Serial Communication between Arduino series , ESP32 , ESP8266 etc pin discussion

ya this one is already installed

IDE is also saying that thing , I just checked

So now can i just connect TX with RX and RX with TX of both ESP32 and ESP8266 ?