In future cellular networks, Device to Device (D2D) communication is foreseen to assume an essential part as it gives super-low latency to consumer communication. This new model will run on both unlicensed and licensed spectrums. It is a progressive expansion of the conventional worldview of cellular communication. D2D organizing is another innovation that gives the 5G network numerous points of interest, for example, remote shared administrations and more prominent ghostly execution. It is additionally assumed as one of the promising methods for 5G remote system administration applications and is utilized in various zones, for example, public wellbeing, dumping network traffic, government-managed retirement public security, social, and gadgets, for example, military applications and gaming. The benefits are expected in form of technical and business challenges that must be addressed before they are integrated into the cellular ecosystem. In current research, various communication technologies in the IoT ecosystem are compared with different requirements, algorithms, and techniques with a brief overview of their architecture. In order to determine the efficacy of different IoT communication technologies, mathematical modeling is also provided with respect to various parameters, such as delay, SNR, and attenuation. This study describes the effectiveness of 5G-enabled smart device communication in the IoT ecosystem in relation to various algorithms, techniques, and mathematical modeling based on a variety of criteria including Standard Power Consumption, Mesh Network, Speed Range and Frequency