Arduino and Raspberry Pi are both popular microcontrollers, but they have different uses.
Arduino is a microcontroller that is typically used for physical computing projects, such as controlling lights, motors, and other electronic components. It is programmed using a language called C++. An example of an Arduino project is a self-watering plant system.
Raspberry Pi is a single-board computer that is typically used for software projects, such as programming and creating websites. It is programmed using a language called Python. An example of a Raspberry Pi project is a voice-controlled assistant.