A protein hormone produced by the pituitary gland of mammals that acts with other hormones to initiate the secretion of milk by the mammary glands. It also acts to maintain the corpus luteum of the ovary, which is the source of the female sex hormone progesterone. In males, high levels of prolactin can cause testosterone levels to decrease.