What are Daemon threads?
Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector". Garbage collector runs until some of the .NET code is running or else its idle.
You can generate a thread Daemon by Thread.Isbackground=true