The regulated release of oxytocin, a cyclic nonapeptide hormone with amino acid sequence CYIQNCPLG that also acts as a neurotransmitter in the brain, from a cell. Oxytocin is the principal uterine-contracting and milk-ejecting hormone of the posterior pituitary, and together with the neuropeptide vasopressin, is believed to influence social cognition and behavior.