its an estrogen (mixed agonist/antagonist) (SERM- selective estrogen receptor modulator)
basically in the brain it acts like estrogen, at least when it comes to brain tissues affecting mood- in the pituitary tissue it has strong affinitity and no activity (hence why it helps restore LH)