I think lot is already explained in details but still I can give you little more statics.
The socket is physical connection of processor on motherboard, core is virtual processor on each socket
1 socket with 1 core = 1vCPU
1 socket with 2 core= 2vCPU
and so on ....
NOw
2 socket with 1 core= 2vCPU
2 socket with 2 core= 4vCPU
and so on ..
Now if your processor has Hype rthreading and is enabled then all vCPU above will be multiplied by 2
1 socket with 1 core (hyper threading enabled)= 2vCPU
1 socket with 2 core (hyper threading enabled)= 4vCPU
and so on ....
NOw
2 socket with 1 core (hyper threading enabled)= 4vCPU
2 socket with 2 core(hyper threading enabled)= 8vCPU
and so on ..
You may not find a single socket single core processor with hyper threading feature but just take above statics for explaining purpose.