When we create a Thread in java program, it is known as user thread. A daemon thread runs in background and does not prevent JVM from terminating. When there are no user threads running, JVM shutdown the program and quits. A child thread created from daemon thread is also a daemon thread.