Since 2020, the W-4 no longer uses allowances. It has five steps: personal information and filing status, multiple jobs or a working spouse, dependent credits, other adjustments (other income, deductions, and extra withholding), and your signature.
Withholding is an estimate of your yearly tax spread across paychecks. If too little is withheld you'll owe at tax time; too much and you get a refund — money you could have had all year. Update your W-4 after marriage, a new job, a baby, or a big change in income.