This is a live euphorbia, better known as the crown of thorns, sold as a ready-to-plant houseplant. It is a perennial with spiny stems and small bright pink flowers, and it is one of the easier plants to keep inside a home. Plenty of people use it as a desk plant or a decor piece on a bedroom windowsill, where it gets good light.
Outside, it handles full sun and is happy as a patio plant or in a dry garden bed with other drought tolerant plants. It is a good fit if you already collect succulents or cacti and want something a little more unusual. Anyone who likes low-fuss plants and wants a bit of color without a lot of work should find it a solid choice.