The formation and release of substances produced by cells, glandular tissue, and organs.