The Raspberry Pi is a full-on computer, it has a Broadcom ARM GPU/CPU, memory, runs Linux etc.
The RP2040 and RP2350 are micro-controllers, such as the ones used on the Arduino. Usually you don't run any operating system on these, everything is bare metal.