Atmega pin designation

Physical pin depends on the package.
Will be different between Uno and Promini/Nano for example.

But otherwise Yes, you have the concept correct.
digitalRead/Write of (3) is on a different pin than analogRead(3).