The Pharmacy Act of 1948 was established to regulate the profession of pharmacy in India, setting standards for education and practice. It led to the formation of the Pharmacy Council of India and state councils, which oversee the registration and regulation of pharmacists. The act provides a framework for maintaining drug quality and ensures that only qualified individuals practice pharmacy.