basically, a alert box is used to pop up some message or result to the user.
confirmation box is used when u want to know some information from the user. it has two buttons ok(=true) cancel(=false). accordingly, on the user's reply, you can execute different sets of statements.