if they are sore, that means whatever you did worked.

lifting breaks down the muscle fiber tissue, when the muscle tissue rebuilds itself, it rebuilds it stronger, and depending on the exercise, weight, sets, and reps, larger.
low reps, high weight builds mass, strength
high reps, low weight tones and builds endurance