  The advancements in smart power grid and the advocation of ``green
communications'' have inspired the wireless communication networks to harness
energy from ambient environments and operate in an energy-efficient manner for
economic and ecological benefits. This article presents a contemporary review
of recent breakthroughs on the utilization, redistribution, trading and
planning of energy harvested in future wireless networks interoperating with
smart grids. This article starts with classical models of renewable energy
harvesting technologies. We embark on constrained operation and optimization of
different energy harvesting wireless systems, such as point-to-point,
multipoint-to-point, multipoint-to-multipoint, multi-hop, and multi-cell
systems. We also review wireless power and information transfer technologies
which provide a special implementation of energy harvesting wireless
communications. A significant part of the article is devoted to the
redistribution of redundant (unused) energy harvested within cellular networks,
the energy planning under dynamic pricing when smart grids are in place, and
two-way energy trading between cellular networks and smart grids. Applications
of different optimization tools, such as convex optimization, Lagrangian
dual-based method, subgradient method, and Lyapunov-based online optimization,
are compared. This article also collates the potential applications of energy
harvesting techniques in emerging (or upcoming) 5G/B5G communication systems.
It is revealed that an effective redistribution and two-way trading of energy
can significantly reduce the electricity bills of wireless service providers
and decrease the consumption of brown energy. A list of interesting research
directions are provided, requiring further investigation.
