The pharmaceutical composition includes a drug layer comprising an active ingredient, a surfactant, an acidic component and an effervescent ingredient. The active ingredient comprises a nucleic acid, a peptide or a protein. The acidic component and effervescent ingredient of the drug layer are dissolved in the water to react for generating carbon dioxide and bubbles thereof. The surfactants surround the carbon dioxide gas core and form a double-layer structure having an inner layer and outer layer. The active ingredient is embedded in a gap formed between the inner layer and the outer layer of the double-layer structure.