Summary The Gorshov and Coworkers research on finding beryllium by the rapid release of radionuclide neutrons in 1930 is the first study on soil using gamma-ray activation. In this study, using MCNP code, simulations were performed on soil and sedimentary rocks, and the flux of gamma rays resulting from the destruction of the positron ejected from the material was calculated, and then, using this quantity, some information about the material has been achieved. Using these results in these simulations, an optimal location for the source and detector was obtained to identify oil reservoirs, in which oil, gas and water reservoirs can be identified and separated from each other. In this optimum case, the contrast values for the water, oil and gas reservoirs varied from zero to 53. 60, 63. 40 and 73. 89%, respectively, which were due to changes in the percentage of oil, water and gas in sedimentary rocks at the energy 511 keV. The advantage of using this method is that due to the minimal amount of energy required for carbon interactions of 18. 7 MeV, there is no need to investigate existing sources in nature, since the maximum energy emitted by these sources is less than 18. 7 MeV. Therefore, the sources in nature do not cause any disruption in these measurements. Introduction In the field of nuclear physics, the use of gamma rays is an important and practical method. This method is used in various industries such as oil and gas production, mining and quarrying, environmental monitoring and so on. The technology of using gamma rays is based on the interaction of the beams with materials. The three main phenomena are the interaction of gamma rays with photoelectric material, Compton scattering, and pair-production phenomena. Due to its very high sensitivity, activation analysis has become an important and applicable tool in various fields ranging from science and engineering to industry, mineral exploration, medicine, etc. One of the biggest advantages of analyzing by this activation method is that it can detect most isotopes with very high sensitivity. In this research, different simulations have been carried out on sedimentary rocks in order to find a suitable method for exploration of oil reservoirs. These simulations are performed in three different states and by comparing the results obtained in each case, the best results are selected to explore the oil reservoirs. Methodology and Approaches The Monte Carlo method is a class of computational algorithms that rely on random iterative sampling to calculate their results. To use this method, a structured input file must be provided, including problem information such as geometry, material type, source, output type, and so on. The code, based on this method, solves the problem using input file information and the crosssection library and generates the results in an output file. In the simulations by this code, a cubic block of about 2 meters is considered to be a type of sedimentary rocks, oil, gas, water and a combination of these rocks with water, gas or oil. The simulated cavity has a depth of 180 cm and a radius of 7. 62 cm. A 2-inch NaI (Tl) detector is inserted into the specified hole. Results and Conclusions According to the obtained results, it is possible to detect and identify the oil reservoirs and to separate the oil reservoirs from the gas and water reservoirs. The advantage of using this method is that due to the minimal amount of energy required for carbon interactions of 18. 7 MeV, there is no need to investigate existing sources in nature, since the maximum energy emitted by these sources is less than 18. 7 MeV. Thus, the sources in nature do not cause any disruption in the measurements.