Armor Class (AC) represents how hard a creature or an object is to harm in combat. The higher a creature's AC, the harder it is to hit.
An attack roll that equals or exceeds a target's AC is a hit.
AC is calculated at the start of the game and normally doesn't change during a combat encounter, though various spells and features can adjust it temporarily.