The mammary gland complex of ruminants and other ungulates, consisting of four glandular quarters (in cattle) each with its own teat and cistern, responsible for the biosynthesis and secretion of milk under endocrine regulation by prolactin and oxytocin.