A Comprehensive Review of Recent Advances in Smart Grids: A Sustainable Future with Renewable Energy Resources | Synapse