What is the difference between an alert box and a confirmation box?

What is the difference between an alert box and a confirmation box?

Alert box just alerts the user about something like “User login successful!” whereas the confirmation box can be used when you want some confirmation from users like “Are you sure you want to delete this item?”.