Samyama is a practice by which the yogi can gain tremendous knowledge and power. It can be applied with a focus on any one object at a time. When it is practiced on an object, the yogi practicing samyama is said to be able to dive deep and find the truest knowledge of the object.
It is said that the yogi should begin by focusing on tangible objects, then refining their practice as they shift to subtler objects. For example, when they focus on external objects, they gain hidden knowledge of the universe. Then by focusing on the mind, they may gain different powers and experiences.
The state of samadhi practiced within samyama is different from the ultimate state of samadhi, which is the ultimate goal of yoga. It is still a preparatory state because it needs something for the mind to focus on. In the final state of samadhi, nothing is needed.
Regular practice of samyama will firm a yogi’s knowledge of samadhi, making it more natural and lucid. In this way, a student of yoga can further progress along their spiritual path.