What is the function of the adrenal glands?

Image of a cave girl running from a cave man with a club

I can’t do this every day!