01ks are pre tax dollars. You pay the taxes when disbursed to you in retirement. In theory, you might be in a lower tax bracket than you are now at retirement.
Roths are contributed to with after tax dollars, and upon disbursement you aren’t taxed again on those dollars.