Here we are looking at macroeconomics.
A budget deficit means that Government spending (G) is greater than Tax revenue the government receives (T). This means there are more injections into the economy than withdrawals out of the economy. A budget deficit is likely to boost AD as AD=C+I+G+(X-M)