The I Ching is both a purely sapiential book, and a divinatory or oracular practice book. As a sapiential it is a source of wisdom in life. As an oracle it is the tool to find harmony, an infallible compass for the correct orientation.
The permutations of Yin and Yang are represented in the I-Ching by the interaction of interrupted lines (- -) in the Yin, and continuous lines (-) in the Yang. They are used to form eight figures of three lines (triagrams).
These are interchanged to form 64 figures of six lines, hexagrams. The full version of the I-Ching has a different reading for each hexagram and for each individual line of the situation for which advice has been sought