A daemon thread is a background thread.It is subordinate to the thread that creates it.When the thread that created the daemon thread ends, the daemon thread dies with it.