The second one has a CPU that's one generation newer than the first, but if that's a concern, the 12th generation CPUs are also available now -- and the 13th will be here soon.  So the first is 2-3 generations behind, and the second is 1-2 behind current.  
Good Morning Colleague I hope you are doing good and safe . May i know which of the below Laptop has higher specs:     Thx in advance   Best Regards
Dell G15 Comparison