Calcium-dependent cell adhesion protein; preferentially mediates homotypic cell-cell adhesion by dimerization with a CDH2 chain from another cell. Cadherins may thus contribute to the sorting of heterogeneous cell types. Acts as a regulator of neural stem cells quiescence by mediating anchorage of neural stem cells to ependymocytes in the adult subependymal zone: upon cleavage by MMP24, CDH2-mediated anchorage is affected, leading to modulate neural stem cell quiescence. Plays a role in cell-to-cell junction formation between pancreatic beta cells and neural crest stem (NCS) cells, promoting the formation of processes by NCS cells (By similarity). Required for proper neurite branching. Required for pre- and postsynaptic organization (By similarity). CDH2 may be involved in neuronal recognition mechanism. In hippocampal neurons, may regulate dendritic spine density. May promote axon outgrowth and motor fiber repair via DSP-mediated recruitment to outgrowth tips (By similarity). {ECO:0000250|UniProtKB:P10288, ECO:0000250|UniProtKB:P15116, ECO:0000269|PubMed:31585109}. This is the function of Ensembl gene identifier ENSG00000170558 (CDH2, cadherin 2).