Deductions & credits

I understand that part. The part I have a question on is my company offers retirement benefits in form of 401k.. so I’m asking can I still open a IRA ( deposit 5,000) and use it as a tax deduction or is that not allowed since I have a 401k already.