Year, month, day and hour each have a stem–branch pair. Four stems and four branches form the eight characters of Bazi. The day pillar's stem is the Day Master. This is a structural illustration, not anyone's birth data.
Ten stems: each phase has yin and yang forms.
Jia and Yi belong to Wood. Bing and Ding to Fire. Wu and Ji to Earth. Geng and Xin to Metal. Ren and Gui to Water. In each pair, the first is yang and the second yin.
Jia and Yi therefore share Wood but are not the same stem. This polarity difference later distinguishes Ten Gods names. For now, learn the classifications without treating characters as personality types.
Twelve branches: distinguish names, phases and hidden stems.
Branches can also correspond to months, double hours and zodiac names, but these are separate fields. On seeing Zi, first ask whether it means a Zi year, month, day or double hour.
Yin is more than the label Wood
Yin → Jia · Bing · Wu
Yin's principal phase is Wood. The table separately lists Jia, Bing and Wu as its principal, middle and residual qi hidden stems. Hidden stems are another correspondence layer. They do not replace Yin with Jia.
Zi is yang. Its hidden Gui is yin
Zi: yang Water. Gui: yin Water
Look up a branch's polarity and its hidden stems' polarities separately. “Zi contains Gui” does not imply that Zi is yin.
At each step, both stem and branch advance one position. Jia pairs with Zi, then Yi with Chou. Each stem is not paired in turn with all twelve branches.
Ten stems and twelve branches advance together, returning to their starting pair after sixty steps. Odd-position yang stems pair with yang branches. Even-position yin stems with yin branches. Jia–Zi and Yi–Chou occur in this cycle. Jia–Chou does not.
The same pair names can record years and days, but knowing a year is Jia–Zi does not give a particular day's pillar. Check the two time sequences separately.
Try a short exercise
In Bing–Yin, Bing is yang Fire and Yin is yang Wood. Yin also contains Jia, Bing and Wu. You can now read three layers: stem classification, branch classification and branch hidden stems.
Assign one pair each to year, month, day and hour to form the basic Four Pillars structure.