Why are there some air bubbles in bar soaps?

It is rare but possible that air bubbles are formed during the mixing of soap solution. Be sure that it does not compromise the quality or weight of the product.