Few CPUs come with Hyper-Threading technology which works such as two separate virtual/logical cores or threads on a single CPU core.
With the help of this technology, they can share their workloads and enhance the value of instructions that work simultaneously with separate data.