It's not magic. Arduino is just a wardrobe with drawers and switches.
Inside the microcontroller there are 256 drawers (registers). Each one has 8 switches (bits).Switch #5 in drawer #5 turns on the LED onboard. That's it.
2 euro. One USB cable. Go to costycnc.it/avr1, write sbi 5,5, compile, upload. The LED turns on. Then cbi 5,5 and it turns off. You just modified the chip's "DNA".