The

Pancreas, Pineal gland, or Pituitary gland
controls the hormone that aids in sleep while the
Pancreas, Pineal gland, or Pituitary gland
controls the hormone that controls the amount of blood sugar in the body.

Which one?

The Pineal gland controls the hormone that aids in sleep, while the Pancreas controls the hormone that controls the amount of blood sugar in the body.