Calcium ions can originate from both extracellular and intracellular sources. Extracellular calcium enters the cell through voltage-gated or ligand-gated calcium channels. Intracellularly, calcium is stored in the endoplasmic reticulum (ER) and the mitochondria, from where it can be released into the cytoplasm in response to various signals.