If you don't work a full year, do you owe the IRS the full year if income tax?

For example if I only wok since July of last year, do I have to pay income tax for the mouths I did not work?