Stem cells are undifferentiated cells with the capacity to divide and give rise to various specialized cell types. There are two main types of stem cells: embryonic stem cells, which can differentiate into any cell type, and adult stem cells, which are more limited in their differentiation potential but crucial for tissue repair and regeneration.