Input (grade 9): The parietal eye is part of the pineal complex, another part of which is the pineal gland, which in tuatara secretes melatonin at night.
Output (grade 4): The parietal eye is part of the pineal system. The animal's pineal gland secretes melatonin at night.