Cortisol is a hormone released in response to stress, regulating metabolism and the immune response.