The debt is what we owe on loans, bonds etc. Kinda like credit cards, mortgage, etc.
The deficit is what we spend in excess of tax revenue. Kind of like if you make $3K a month but you spend $3.5K a month. You would have a $500/month deficit. Which would add to your debt.