Since 401(k) accounts are employer sponsored, most companies match their employees contributions up to a certain percentage. In addition, they have a higher cap on contributions. IRA accounts allow more freedom over investments. The benefits to having a 401(k) or an IRA account depend in part on your financial situation.
I hope that helped