The 20" and 24" Mid 2007 Macs had two-core Core 2 Duo or Core 2 Extreme CPUs, used mechanical hard drives, and officially could take at most 4 GB of RAM. (Unofficially, they could take 6 GB.)
The USB ports ran at USB 2.0 speed, and the internal hard drive interface was a 3 Gbps SATA-II (not SATA-III) one.
One of the CPUs used in these machines was the Core 2 Duo (T7700). That one has Geekbench scores of about 252 (isingle-core) / 404 (multi-core).
https://browser.geekbench.com/processors/intel-core-2-duo-t7700
For comparison, the slowest version of the 24" M4 iMac scores 3721 and 13716. That is, nearly 15x faster on the single-core benchmark and almost 34x faster on the multi-core one.