In the evolving landscape of pharmaceutical manufacturing, the rise of "smart pharma factories" is transforming how drugs are produced, packaged, and distributed. At the heart of this transformation are two cutting-edge technologies: the Internet of Things (IoT) and Artificial Intelligence (AI). These innovations are not