In the present work, an experimental and theoretical study of the synthesis, magnetic, and structural properties of simple perovskite compounds YFeO3 has been investigated based on their potential applications, such as: solid oxide fuel cells, electrochemical sensors, sensor materials, magneto-optical materials, etc. Experimentally, the synthesis was carried out by the sol-gel method. X-rays and Rietveld refinements confirmed the orthorhombic structure. Scanning electron microscopy observations confirmed agglomerates of simple perovskite particles YFeO3. The study of the magnetic phase of the simple perovskite YFeO3 showed that it behaves like a weak ferromagnetic, this property delimits and directs magnetic fields into well-defined trajectories. On the other hand, the structural results, from a theoretical point of view, are in good agreement with the experimental ones. Through energy comparison, a possible competition was identified between the FM and AFM states, where the electronic properties are associated with the directional nature of the hybridization between the p orbitals of oxygen and the t2g states, where the superexchange mechanism prevails with e oxygen as mediator.