Since smaller transistors are more power-efficient, they can do more calculations without getting too hot, which is usually the limiting factor for CPU performance. It also allows for smaller die sizes, which reduces costs and can increase density at the same sizes, and this means more cores per chip.
Source: howtogeek