A smart factory, also known as an Industry 4.0 factory, is a manufacturing facility that leverages advanced technologies such as the Internet of Things (IoT), artificial intelligence (AI), and data analytics to improve efficiency, productivity, and flexibility. These technologies allow for real-time data collection and analysis