What is the purpose of wedging clay?

the purpose of wedging clay is to get the air bubles out.

if you dont getthe air bubles out, when being fired, the air will try to escape your now hard pot, when it can't , it will explode your pot.