The rise in pollution levels, leading to the emission of greenhouse gas emissions and the subsequent phenomenon of global warming, is anticipated to stimulate the expansion of Electrical Vehicles (EVs). Consequently, EVs will establish a connection with the electrical grid within this timeframe. The implementation of this technology will significantly influence the voltage profiles and loads of grid components. The study centered on the modeling and analysis of the integration of renewable energy sources and EVs into a microgrid. The microgrid comprises four essential elements: a diesel generator functioning as the primary power supply, a combination of a Photovoltaic (PV) farm and a wind farm for generating electricity, and a Vehicle-to Grid (V2G) system positioned near the microgrid's load. The continuous increase in their energy production rate makes microgrids important. Microgrids can be designed to meet the energy needs of different establishments, including hospitals, universities, and EVs charging stations, as well as the energy demands of a district, town, or industrial site. Charging stations are essential for the purpose of replenishing the battery of an EVs. This study investigates the influence of EVs on the microgrid network. EVs integrate non-linear circuit components into their structures This study focuses on the modeling and analysis of the renewable energy sources and EVs integration into the microgrid. and this study reviews the analysis of the microgrid with EVs using Matlab / Simulink.