xxxPin means its a pin?

You're making it a lot more complex than needed. int ledPin = 10; means ledPin is an integer storing the number 10.

pinMode and other functions want to see an integer of which pin to act on. There is nothing special about ledPin before and after pinMode is called.