A light-sensitive neuroendocrine organ attached to the roof of the third ventricle of the brain. The pineal gland secretes melatonin, other biogenic amines and neuropeptides.