"Occult" means hidden practices. So it covers both non-mainstream religious/mystical/magical practices, but it also covers "hidden" beliefs within religions.
Stuff like Kabbalah is considered occult, as it Christian mysticism, or folk mysticism that coexists with religion.
Also, one can study things without making judgements about them. The history of human beliefs is interesting.