Dissolving the materials in gases or liquids