Why use a transistor to drive an LED?
The quick answer is that a transistor can provide more current than an arduino pin. This makes the LED emit more light.

There are complexities, however. Take a look other questions here and here for examples of the necessary considerations and calculations.