Internet of Things (IoT) had fewer resources and machines, which had high-design installation cost. The operating systems used for IoT devices have made the integration of various software products possible, thus increasing the functionality of the network and assisting the users more in their day-to-day tasks. The rapid growth of IoT has led to the development of new kinds of gadgets in various domains. The integration of cloud computing with IoT fulfills the requirements of IoT architecture satisfying all the necessary constraints, including application, service, and resource management. The big data produced by IoT is of different nature than the regular big data due to heterogeneity and noise in the collected data. The fog extends the cloud to be closer to the things that produce and act on IoT data. IoT mainly reckons on the capability of Radio frequency identification to identify and be identified by other objects and communicate with them as well.