I got a little confused,when there is 2 cores or more to a CPU does it mean that two processes can run on those cores or two different threads?.When there is hyper-threading does two threads run the same time in the core?
It means that two threads can run at the same time. Those two threads may or may not belong to different processes. Processes use threads to get work done.
Yes, exactly. The two threads share the core's execution resources.