Both have advantages: Max out your 401(k) if you receive an employer match—then consider contributing to a Roth IRA for tax-free growth and withdrawals.