I am creating a project using arduino nano, ESP8266 and DPS310 sensor. I uploaded the code for the same but the serial monitor wasn't displaying

Just be aware that a classic Nano needs 7-12V on Vin; your 3.7V will not do the job.