Gaining self information and knowledge is called Gyan Yoga. It is to understand yourself and your surroundings through experience. Knowledge of the divine form through knowledge, knowledge of real truth is the goal of Jnana Yoga. In Gyan Yoga by Swami Vivekananda, telling the truths under Vedanta is summarized in Vedanta.
The Gyanyogi is get motivated by knowledge in the path of attainment of God. In Gyan Yoga, the concept of allure, the true and natural nature of man, Allure and Mukti, Brahm and Jagat, inner self, outward, monotony in unity, Brahm philosophy, the nature of freedom of the soul, etc. are studied deeply.
If analyzed, the seeker in Gyanyoga actually attains liberation by knowing the real element of Allure, knowing his reality and the true nature of the soul in accordance with Vedanta's Advaita doctrine.