The ER is the major intracellular reservoir of calcium and is important in the biogenesis of peroxisomes and autophagosomes. Moreover, it plays a key role in metabolic processes, such as gluconeogenesis, lipid synthesis and protein folding of the secretory pathway.