Raspberry Pi is used to blink an LED by connecting it to GPIO pin 25. A resistor is added in series to limit the current. Python code is written to import GPIO and time libraries, set pin 25 as output, and toggle it between high and low voltages with 1 second delays to turn the LED on and off repeatedly.