The relevance of Distributed Generation (DG) has grown in recent years as a result of rising commercial and industrial loads, which places greater demand on traditional sources due to a scarcity of natural resources. As a consequence, in order to fulfil the enormous load without jeopardizing natural resources, new power generation methods are required. The placement of Energy Storage Systems (ESSs) could be a huge chance to enhance the appearance of the distribution system. And DG is one of the most effective answers to the economic and ecological challenges of traditional sources. Some possibilities, it appears, need a large area and a significant expenditure. The optimal DG size and location decreases power loss, whereas the improper DG size and location increases loss due to excessive reverse flow from the load to the supply, causing protection issues. An Improved Shuffled Frog Leap Algorithm (ISFLA) with Reptile Search Algorithm (ISFLA-RSA) for the ideal placement and size of DG and ESS in the IEEE Radial Distribution System (RDS) is proposed in this study to minimize power losses and retain voltage magnitude. While related to the conventional Analytical Index Method and Whale Optimization Algorithm, the suggested ISFLA-RSA achieves loss reduction and voltage profile of 92.4766 % and 0.9729, respectively.