The paper presents a comprehensive survey on the Internet of Things (IoT), detailing its history, architectures, research challenges, and future vision. It discusses the evolution of IoT from connecting computers to linking everyday objects, presents various proposed architectures (3-layer and 5-layer), and highlights challenges related to information gathering, security, privacy, and communication. The authors conclude with recommendations and acknowledge ongoing research in the area, emphasizing the potential of IoT in various applications such as marketing, healthcare, and smart environments.