*1.2. Contribution*

From smart factories to individual lives, IoT and WSN play significant roles. There are many advantages, but security problems have arisen as these devices generate considerable amounts of data daily. These papers amalgamated both sides: IoT and WSN contributions and their security risks. This paper focuses more on the contributions of IoT and WSN in Industry 4.0 and presents an in-depth review and analysis of IoT and WSN. The paper's main contribution involves formulating research questions from filtered data and building a strong work foundation using SLR methods. We discuss various applications and security attacks in IR 4.0. Furthermore, new findings of the paper pertain to the key challenges and open issues of WSN integrated with IoT in Industry 4.0, to optimize different criteria.
