Glands are organs that produce and secrete substances. The liver performs a wide range of vital functions, including producing bile, detoxifying blood, and synthesizing proteins.