A lot of people have a misconception regarding these concepts.
Shyness is when people have a doubt in them about approaching new situations and people and feel uncomfortable in unfamiliar surroundings.
There is an element of rejection present in a shy person. They fear rejection and hence often suppress their feelings and/or emotions.
On the other hand, introverts enjoy being alone. It is their preference. They enjoy solitary activities and seek solitude . Being in a gathering is not their cup of tea. Well, that is nice, more alone you’re, less bullshit you have to deal with.
So, do not confuse shyness with introversion. These are two different things.