In Java, a thread is a lightweight process that runs within another
process or thread. It is an independent path of execution in an
application. Each thread runs in a separate stack frame.
By default Java starts one thread when the main method of a class is
called