This type of therapy is used to treat phobias and anxiety disorders by gradually exposing patients to their fears.