What is the Internet of Things (IoT), and how does it enable devices to communicate and interact? Discuss IoT architecture, sensors, cloud integration, and security considerations in IoT applications such as smart homes, healthcare, and industrial automation.