Using ICSP pins

You can have a look at the schematic; it will show what @groundFungus said. https://content.arduino.cc/assets/NanoV3.3_sch.pdf