Based on the results obtained in the study of the interaction of geological and biosphere processes, we found out that there is a close relationship between them. It was also found that the gravity of the bodies of the solar system on the Earth plays a significant role in the above relationship. The effect of gravity was demonstrated on the movement of lithosphere plates, on the processes in the atmosphere and hydrosphere, on related climatic cycles, and the biosphere processes, including "living" organisms' evolution and their mass extinctions. The periodicity of these processes due to gravity is shown. It is expressed in the alternation of short-term orogenic periods of the beginning of the processes with long-term geosynclinal periods of their development and completion. Both periods constitute the repetitive orogenic cycles. The relationship of the cycles with the evolution of photosynthesis, as well as with related Organic Matter (OM) accumulation in sediments after mass extinction of organisms, including OM transformation leading to the formation of Hydrocarbon (HC) accumulations, is shown. Biogenic processes accounting for the accumulation and transformation of organic matter in sediments constitute the biogenic pathway of the formation of hydrocarbon accumulations. It is shown that the influence of gravity extends to the processes in the inner geospheres, including the movement of magma in the asthenosphere under the lithosphere shell, to the movement of hydrogen gas coming from the Earth's core, combining with volatile compounds of elements present in magma, as well as to the rifting process. It is shown that rifting processes lead to the formation of gaseous HC accumulations and constitute a pathway called abiogenic. The obtained results shed light on the peculiarities of the formation of HC accumulations by biogenic and abiogenic pathways, allowing prediction of their chemical characteristics. This is essential when searching for oil and gas and planning exploration works.