Field notes
A full set of D&D dice looks like a jeweller dropped a bag of sweets. Each one is named by its sides: "d6" means a six-sided die, "2d6" means roll two of them and add them up. The smaller dice (d4 to d12) mostly decide how much damage something does or how much healing you get. For a percentage you roll two d10s, one for the tens and one for the units, and a d3 is just a d6 halved and rounded up.
The d20 is the one that decides whether you succeed. The game calls these rolls D20 Tests, and there are three kinds. An ability check is for trying something hard, such as picking a lock or calming a horse. A saving throw is for resisting something bad, such as dodging a fireball or shaking off a curse. An attack roll is for hitting something, which is self-explanatory and frequently necessary.
The method is the same every time. Roll the d20 and add the modifier for the relevant ability: a score of 10 or 11 gives +0, 14 or 15 gives +2, and 8 or 9 gives -1. If you're trained in the skill, weapon or save, also add your proficiency bonus, which starts at +2 and climbs to +6 by level 17. Then compare the total to the target. For checks and saves that's a Difficulty Class (DC) set by the DM or the rules, from 5 for very easy to 30 for nearly impossible. For attacks it's the target's Armour Class (AC).
Advantage and disadvantage are the game's way of saying "the odds are with you" or "against you". With advantage you roll two d20s and use the higher. With disadvantage you use the lower. They don't stack: three reasons for advantage still means two dice. And if you have both, they cancel and you just roll one.
Rolling a natural 20 (the die itself shows 20, before bonuses) on an attack is a critical hit: it hits whatever the target's armour, and you roll the damage dice twice. A natural 1 on an attack always misses. Under the 2024 rules this special treatment is for attack rolls; for checks and saves, the total is what counts.
The d20 even decides whether you live. Drop to 0 hit points and you start making death saving throws each turn: 10 or more is a success, anything less is a failure. Three successes and you're stable; three failures and you're dead. A natural 20 brings you back with 1 hit point, and a natural 1 counts as two failures.
The short version
Most of the time, the DM will ask for one d20 roll plus a bonus and tell you whether you beat the number. Learn the three kinds of D20 Test, learn advantage and disadvantage, and you understand the beating heart of the rules.
Buy one set of seven dice to start. Bright colours help, because you'll be hunting for the d20 under the crisps at least twice a session.