Automatic Misses and Hits
A natural 1 (the d20 comes up 1) on an attack roll is always a miss. A natural 20 (the d20 comes up 20) is always a hit. A natural 20 is also a possible critical hit, which could deal more damage (see Critical Hits on page 245).
Source
Core Rulebook pg. 240