The cognitive behavioral therapy is a type of psychological treatment…