IRAs and 401(k)s are both tax-advantaged retirement plans, but they have different benefits, requirements and drawbacks.