Why do LEDs need power supply?
LEDs are low voltage devices. Therefore they require a power supply unit that can convert line voltage to low voltage so as to run the LEDs. Sometimes the driver has electronics that can interpret control signals to dim LEDs.