D2D communication is one of the promising technologies to improve network performance through direct wireless communication between users, without, or with limited participation of the base station (BS). In this paper, we investigate the performance of D2D communication underlaying microwave (µ-wave) and millimeter-wave (mm-wave) cellular networks using stochastic geometry. Rayleigh fading is considered to characterize the µ-wave channels in both links, while the Rician fading is used to characterize the mm-wave channel in the D2D and cellular desired link. The D2D communication is established when the losses between the D2D transmitter and the D2D receiver are lower compared to the losses that exist between the D2D transmitter and the BS receiver. On the other hand, to minimize the interference caused by the coexistence of cellular and D2D communication and increase network performance, the Channel Inversion-Based Power Control (CIPC) is studied. In this way, the Complementary Cumulative Distribution Function (CCDF) for the successful transmission is obtained. Based on the analytical and numerical results, we show an important increase in the probability of successful transmission using the CIPC and considering the channel gains condition to establish the D2D communication compared to the traditional mode in which power control is not used and no conditions are considered to establish the D2D communication. INDEX TERMS 5G, Device-to-device (D2D) communication, microwave cellular networks, millimeterwave cellular networks, Poisson point process, power control, Rayleigh fading, Rician fading, stochastic geometry. I. INTRODUCTION The challenges for 5G and beyond wireless communications lie in achieving ultra-low latency, ultrahigh reliability, high data-rate connectivity (on the order of Gbps), resource allocation and multiple access, quality latency-rate tradeoff, high number of connected devices, high efficient, energy efficiency, among others [1]-[2]. With the 5G networks implementation new applications are also emerging, such as Device-to-Device (D2D) communication, Internet of Things (IoT), Machine-to-Machine communication (M2M), Internet of Vehicles (IoV), among others [3]. As one of the key technologies, D2D communication increases the network performance in terms of Spectral Efficiency (SE) and Energy Efficiency (EE), in addition to reducing transmission and retransmission delay, traffic and computation offloading [4], transmission power and alleviate congestion of cellular networks. D2D communication enables wireless transmission between users over the direct link without, or with limited, participation of the BS or core network. D2D communications is classified into inband D2D communication, where the communication takes place in the licensed cellular spectrum, providing SE due to the sharing of licensed spectrum between D2D and cellular users, and outband D2D communication where the communication takes place in the unlicensed spectrum [5]. In addition, inband D2D is classified into underlay and overlay m...