Ask ten beginners what separates Arduino from Raspberry Pi and most will say "Arduino is smaller and cheaper." That's true but misses the point entirely. The real distinction is architectural, and getting it wrong leads to picking the wrong tool and hitting a wall six weeks into a project.
Microcontroller vs. Computer: The Distinction That Actually Matters
An Arduino is built around a microcontroller — the classic Uno uses an ATmega328P; newer boards use an ESP32 or SAMD chip. A microcontroller has no operating system. Your compiled program is the only thing running on the chip. There is no scheduler, no background processes, no filesystem to manage. Code executes in a simple, predictable loop (literally called loop() in Arduino sketches), which means the timing of when a pin is read or toggled is deterministic down to microseconds. That determinism is exactly what you want when reading a quadrature encoder, generating a precise PWM waveform for a motor, or running a PID control loop at a fixed 1 kHz rate.