why bubbles are formed in soap solution?
Bubbles are formed because of trapping of gas in soapy solution. Here it can be any gas.
In fact, there are two liquid-gas interfaces on a soap bubble - the one on the inside of the bubble and the one on the outside of the bubble. In between the two surfaces is a thin film of liquid