from what it seems you are not connecting your breadboard to ground!
you need to connect the blu stripe, right under the blu minus sign to arduino common ground!
if you look on the arduino board in the "POWER" section there is one pin that outputs 5V, 2 pins called "GND" which stands for GROUND, and a pin that outputs 9V.
You need to connect one of the two Gnd pins with the rightmost blue line in your breadboard (According to your diagram)...so that the 470 Ohm resistor connects to ground and closes the circuit
as for the ledPin = 5
it is probably speaking of the DIGITAL pin 5
the other "5" that you might be referring to
belong 1 to the POWER section and it just says that it has 5Volts coming to that pin
and the other belongs to the ANALOG IN section
which as the name says are mainly used to send Analog data to the microcontroller.
do you have clear the difference between digital and analog ?
sorry for the question
hope it helps
look under the tutorials for reference image