The number of cores and transistors on a chip varies.
The main difference between the m2 chip and the a14 chip is the number of cores and the number of transistors. The m2 chip cpu core uses an 8-core design, and the gpu also comes in 10-core and 8-core versions. The a14CPU uses a 6-core design and the GPU uses a 4-core design. The m2 chip has 20 billion transistors, and the a14 chip has 118 transistors.