I have faced a problem in arduino reception when a data is sent from Esp8266

//Arduino program
#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
SoftwareSerial esp8266(6, 7);
SoftwareSerial mySerial(4, 5);


Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
#define TFT_DC 9
#define TFT_CS 10
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);

uint8_t id;
const int buttonPin = 2; 
const int ledPin =  3;    
  int A=0;
  String I="\n";
  String C=",";
  String ATT="";
  String line1="";
  String B="";
  String ALL="";
volatile int buttonState = 0;                
volatile boolean button_pressed = false;  

void setup() {
  Serial.begin(9600);
  esp8266.begin(115200);
  tft.begin();
  tft.fillScreen(ILI9341_BLUE);

  while (!Serial); 
  delay(100);
  Serial.println("\n\nAdafruit Fingerprint sensor enrollment");

  // set the data rate for the sensor serial port
  finger.begin(57600);
  
  if (finger.verifyPassword()) {
    Serial.println("Found fingerprint sensor!");
  } else {
    Serial.println("Did not find fingerprint sensor :(");
    while (1) { delay(1); }
  }
  finger.getTemplateCount();
  Serial.print("Sensor contains "); Serial.print(finger.templateCount); Serial.println(" templates");
  Serial.println("Waiting for valid finger...");
pinMode(ledPin, OUTPUT);
pinMode(buttonPin, INPUT);
attachInterrupt(0, pin_ISR, CHANGE);
}
uint8_t readnumber(void) {
  uint8_t num = 0;
  
  while (num == 0) {
    while (! Serial.available());
    num = Serial.parseInt();
  }
  return num;
}
void loop() {
 if (esp8266.available()){
     digitalWrite(ledPin, HIGH);
     delay(500);
     line1 = esp8266.readStringUntil('\0');
     Serial.print(line1);
  }
else
{
  if (button_pressed) {
  tft.fillScreen(ILI9341_BLUE);
  tft.setCursor(20, 160);
  tft.setTextColor(ILI9341_BLACK);  tft.setTextSize(3);
  tft.println("Enrolling...");
Serial.println("Ready to enroll a fingerprint!");
Serial.println("Please type in the ID # (from 1 to 127) you want to save this finger as...");
  id = readnumber();
  if (id == 0) {// ID #0 not allowed, try again!
     return;
  }
  Serial.print("Enrolling ID #");
  Serial.println(id);
  
  while (!  getFingerprintEnroll() );
 tft.fillScreen(ILI9341_BLUE);
 tft.fillRect(22, 40, 100, 100,ILI9341_RED);
  tft.setCursor(50, 75);
  tft.setTextColor(ILI9341_BLACK);  tft.setTextSize(4);
  tft.println("OK");
  tft.setCursor(20, 160);
  tft.setTextColor(ILI9341_BLACK);  tft.setTextSize(3);
  tft.println("Enrolled ");
  tft.setCursor(20, 200);
  tft.println("successfully");
  delay(1500);
  tft.fillScreen(ILI9341_BLUE);
button_pressed = false;
}
  else{
  getFingerprintIDez();
 // tft.fillScreen(ILI9341_BLUE);
  tft.fillRect(22, 40, 100, 100,ILI9341_RED);
  tft.setCursor(50, 75);
  tft.setTextColor(ILI9341_BLACK);  tft.setTextSize(4);
  tft.println("OK");
  tft.setCursor(20, 160);
  tft.setTextColor(ILI9341_BLACK);  tft.setTextSize(3);
  tft.println("PUT YOUR");
  tft.setCursor(20, 200);
  tft.println("FINGER");
  digitalWrite(ledPin, LOW);
  delay(50);  
  }
}

}
void pin_ISR() {
buttonState = digitalRead(buttonPin);
if (buttonState !=0) {button_pressed = true;}

  digitalWrite(ledPin, buttonState);
};
//esp8266 program
#include <ESP8266WiFi.h>
String t="";
String h="";
String Time="";

int att=0;
int id=0;
int a=0;
int b=0;
int c=0;
int d=0;
int num=0;
String line="";
String line1="";
String line2="";
String line4="";
String line5="";
String line3="";
const char* ssid     = "rakshak";
const char* password = "";
const char* host = "rakeshtalukdar.esy.es";
 
void setup() {
  Serial.begin(115200);
  delay(100);
  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);
  
  WiFi.begin(ssid, password); 
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
 
  Serial.println("");
  Serial.println("WiFi connected");  
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
  Serial.print("Netmask: ");
  Serial.println(WiFi.subnetMask());
  Serial.print("Gateway: ");
  Serial.println(WiFi.gatewayIP());
}
void loop() {
  Serial.print("1234");
  while(Serial.available()>0){
    
    t  = Serial.readStringUntil(',');
    h  = Serial.readStringUntil('\n');
       id=t.toInt();
       att=h.toInt();
    Serial.print("id = ");
    Serial.println(id);
    Serial.print("attandance = ");
    Serial.println(att);

You shouldn't be using SoftwareSerial, and definitely not twice, and also definitely not at 115200 baud.

I'd recommend to use a board with at least three hardware UARTs, or get rid of the UNO and program the ESP8266 directly, that'll make your life a whole lot easier.

Pieter

Thanks for answering.But I have transmitted the data from arduino to ESP8266 using same code/same software Serial protocol.Don't know why reception is not working.