Elastic search start and stop after running

In elasticsearch 5.2 version

● elasticsearch.service - Elasticsearch
       Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: enabled)
     
Active: failed (Result: exit-code) since Wed 2020-03-25 18:21:18 IST; 6s ago
         Docs: http://www.elastic.co
      Process: 13674 ExecStart=/usr/share/elasticsearch/bin/elasticsearch -p ${PID_DIR}/elasticsearch.pid --quiet -Edefault.path.logs=${LOG_DIR} -E
      
  Process: 13673 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)

     Main PID: 13674 (code=exited, status=1/FAILURE)

    Mar 25 18:21:15 hardika-Vostro-2520 systemd[1]: Starting Elasticsearch...
    Mar 25 18:21:15 hardika-Vostro-2520 systemd[1]: Started Elasticsearch.
    Mar 25 18:21:18 hardika-Vostro-2520 systemd[1]: elasticsearch.service: Main process exited, code=exited, status=1/FAILURE
    Mar 25 18:21:18 hardika-Vostro-2520 systemd[1]: elasticsearch.service: Failed with result 'exit-code'.