This is one explanation of how some Yogis can enter into anything, animate or inanimate, and gather knowledge about that.
Like a smoke rising from fire, the kundalini shakti, freed through the nadis, rising from the muladhara, merges into the cosmic void (vyom). This citizen (nagari, that is Kundalini), like a puff of smoke is a spectacle vibrating internally, enveloped by an ego-sense (ahamkara), which comprises the living being embraced by manas and buddhi. She is capable of moving about at will, entering into (niryati) a lotus stalk, a mountain, grass, a wall, a rock, the sky, or the surface of the earth. She alone becomes consciousness, establishing itself step by step, filed from beginning to the end with its fluid essence (rasa). Immersed in this essence, it becomes like a leather bag in water, O Rama, this quickly assumes any desired shape, as she places in the mind of an artist lines of certain shape. Due to influence of a resolute intention (drdhabhava) she develops an internal skeleton. Like a fetus growing inside a mother, this extremely subtle energy becomes established in its own germinated sprout. O Raghava, know this truth which has been formulated by the learned, that the energy of a living being (jivashakti) can turn itself into anything, from the Mt. Meru to a patch of grass.
– Yoga Vasistha.