The process typically involves techniques like coacervation, spray drying, and electrospinning, where the active substance is mixed with a polymer or other encapsulating material. The mixture is then processed to form nanoparticles or microcapsules that encase the active substance. The encapsulating material acts as a barrier, controlling the release profile of the encapsulated substance.