A language of relationship, not two magic substances
Yin and yang describe how things relate to one another. They help organize ideas like rest and activity, interior and exterior, coolness and warmth, substance and function.
That is why the terms show up across herb writing, kitchen traditions, lifestyle advice, and the classics. They are part of a framework, not isolated buzzwords.