How exactly does an IRA help me.

Lets say i owe $1,000 in federal and state combined.
If I open an IRA and put $1,000 in it. Will that deduct $1,000 from my taxes making me not owe to taxes?