What is the relation between CPU thread and the logical thread?

Recently, I bought a new CPU and it is "Intel Xeon Nehalem-EX". In the specification paper, it has been written that, The CPU has 8 cores and 16 CPU threads. What is this CPU thread and how it is related with the normal programming thread that is in Java or C# ?
