This document describes an intelligent lighting system for classrooms and malls using IoT (Internet of Things). The system uses PIR sensors, an Arduino, relay modules, and an ESP8266 WiFi module to automatically turn lights on and off based on detected movement. It also uses an IR sensor to count the number of people entering and exiting a room. A mobile app is used to monitor and control the lighting system remotely. The system aims to conserve energy by more efficiently controlling lighting and reducing unnecessary use.