In recent years, the utilization of augmented reality (AR) and virtual reality (VR) has emerged as a transformative approach in education, revolutionizing traditional teaching methods. This study seeks to explore the efficacy of AR and VR as pedagogical resources for enhancing the teaching of the solar system. The research process involved the development of an application comprising two modules, AR and VR, which were evaluated to assess their impact on the teaching process. Furthermore, a comparative study was conducted to evaluate the immersiveness, interactivity, and ease of use offered by these technologies. The findings demonstrate that both AR and VR demonstrate promise in supporting the teaching process, with the VR module garnering particularly positive evaluations. However, it is crucial to acknowledge existing barriers in underprivileged communities, where public schools face limited investments in technology infrastructure. These limitations hinder the widespread implementation of such immersive experiences and their potential to foster new knowledge acquisition.