In basic terms, Arduino is designed for real-world building of models and prototypes, using simple coding for control. It teaches the interaction between software and hardware. A Raspberry Pi is a mini computer for learning programming and software development. It can be extended to activate hardware, but that’s not its primary purpose.