Indeed it is a hormone. Secreted by the posterior pituitary gland and serves 2 functions. Contraction of the uterine smooth muscle during childbirth and contraction of milk ducts in the breast to cause milk ejection.
But as mentioned above it really has no relevance to bodybuilding.