The core architecture, there are many differences between different cores including instructions sets and cache. In general newer is better,
Pentium D < dual core < core 2 < i3/i5/i7
The newer numbering can be thought of as BWM models, 3,5 and 7 series.