When does the secretion of adrenocorticotropin takes place in the body?

When does the secretion of adrenocorticotropin takes place in the body? What is the purpose of its
secretion?

Adrenocorticotropin is secreted when adrenocorticotropin releasing hormone (ACRH) stimulates the corticotroph cells of anterior lobe of pituitary gland.
Its released because its stimulation is responsible for the synthesis and secretion of glucocorticoid steroid hormone from the adrenal cortex of adrenal gland.