Why did governments sell war bonds?

to have funds for domestic use

to fund all levels of government during the war

to repay national debts

to finance the war effort