The rapid advancement of Internet of Things (IoT) technology has paved the way for a new era of interconnected and intelligent devices with standards emerging primarily for wireless communication between sensors, actuators, and gadgets in day-to-day human life, in general being referred to as things. This research sheds light on the integration of Artificial Intelligence (AI) and IoT in smart devices and how they communicate in our daily lives. The critical aspects of data security and privacy in the IoT ecosystem, emphasizing the need for robust cyber security measures to protect against potential threats are addressed.