A spectrum, not two boxes
Carl Jung popularized the terms introversion and extroversion, and today extraversion is one of the Big Five personality traits used in research. Introverts tend to recharge in solitude and prefer deep conversations; extroverts gain energy from social interaction and stimulation.
Most people fall somewhere in between. These ambiverts adapt to the situation: they enjoy people, but also need their own space.