Pineal Gland It is located behind the third ventricle. It helps regulate the body’s internal clock and circadian rhythms by secreting melatonin. It has some role in sexual development.