The hypothalamus is the only part of the brain not fully encased by the blood-brain barrier, so it has access to systemic blood and can sense changes in hormone levels
Hormones that stimulate other glands to release their hormones e.g. thyroid stimulating hormone targets the thyroid, causing the release of thyroid hormone