This document presents a genetic algorithm-based approach for determining the optimal location and type of Flexible AC Transmission System (FACTS) devices to improve voltage profiles and reduce power losses in electrical networks. The proposed method is validated using the IEEE 30-bus power system, showcasing effectiveness through various loading conditions, with results indicating significant reductions in total losses and improvements in system performance. The paper emphasizes the strategic benefits of deploying FACTS devices in modern power systems to enhance reliability and operational efficiency.