Intel Core i5 7400 's Advantages
Better graphics card performance
Newer PCIe version (3.0 vs 2.0)
Higher base frequency (3.0GHz vs 2.0GHz)
Intel Celeron J4025 's Advantages
Released 2 years and 10 months late
Higher specification of memory (DDR4-2400 vs DDR4-2400)
Larger memory bandwidth (38.4GB/s vs 35.76GB/s)
Lower TDP (10W vs 65W)