Doubt or confusion?


I’m confused about confusion (!) and doubt. Would you say that doubt is when we think “I’m not sure if” whereas confusion is “I don’t know how to, when, where, etc.”?
Thanks!