Source

When diksha is given to a competent disciple, the guru enters into his soul, establishes himself as the disciple’s inner Self and by means of his power, removes all the impurities that limit the essential nature of the disciple’s Self.
— Sarvajnananottara Agama