I. Introduction
Action, temperature, light, and earthquakes are among the many informative physical world alternatives. It is important to collect data from wireless sensor networks (WSN), which provide an accessible architecture for massive environmental data. Autonomous sensors in space monitor their environment and jointly communicate their information to a primary node or base station over current networks that allow two-way data transmission. Monitoring and controlling sensor activity from node to base station [1] In Fig. 1, a sensor node detects, regulates, and responds to wirelessly send environmental data to stations. [1] Internet access lets the base station share data. AI was invented in the late 1950s. Subsets of AI include machine learning. [2]. across a range of industries, including healthcare, engineering, computing, etc., it can handle a variety of WSN challenges, including routing, security, localisation, coverage, connectivity, and congestion. Computer systems are capable of learning and adapting their behavior as a result. It creates a model by automatically,