On the Form 1040 Line 24 that is your total tax liability before any tax payments you paid are deducted.
On the Form 1040 Line 33 is your total tax payments and credits.
If your total tax liability is greater than your total tax payments then you will have taxes owed and that is the amount on the Form 1040 Line 37.
If your total tax liability is less than your total tax payments then you will have a tax refund for the overpayment and that is the amount on the Form 1040 Line 35a.