Download Arduino Nano Every Pin Layout Background. D2 is just a digital pin, not a pwm pin. Arduino uno is a microcontroller board based on atmega328 and comes with 14 digital i/o pins out of which 6 are pwm.

Makerhawk 2pcs Na No V3 0 Atmega328p Microcontroller Board Na No Board Ch340g Chip 5v 16mhz With 2pcs 245 Mm Usb Cable For Arduino Amazon Co Uk Computers Accessories
Makerhawk 2pcs Na No V3 0 Atmega328p Microcontroller Board Na No Board Ch340g Chip 5v 16mhz With 2pcs 245 Mm Usb Cable For Arduino Amazon Co Uk Computers Accessories from images-na.ssl-images-amazon.com
Both arduino uno and arduino nano come with same functionality with little difference in terms of pcb layout, size and form factor. There are totally 14 digital pins and 8 analog pins on your nano board. click the image to enlarge it.

This sign is not correct.

D2 is just a digital pin, not a pwm pin. The nano is inbuilt with the atmega328p microcontroller, same as the arduino uno. Arduino nano has 14 digital i/o pins, 8 analog reference pins and has a clock frequency of 16mhz 18. So, usage as analog inputs is not recommended.