The subsurface represents space and resource of ever-growing importance to meet human activity needs associated with the availability of built environments and energy. So-called energy geostructures represent a breakthrough technology in this context. By integrating the structural support role of earth-contact structures with the heating-cooling role of shallow geothermal heat exchangers, energy geostructures can sustain or enclose built environments while providing them with renewable thermal energy. Despite such promising features, the integrated roles of energy geostructures pose various challenges to understand their behavior and performance, and to address the related analysis and design. Appropriate formulation and application of scientific theory are crucial for the successful analysis and design of energy geostructures. This Bright Spark Lecture Paper presents selected theory for addressing the behavior and performance of energy geostructures, and discusses the application of this theory to analysis and design. In this context, the work focuses on energy piles and barrettes, energy tunnels, as well as energy walls and slabs. The ultimate goal of this paper is to provide competence for facilitating future research and development of energy geostructures across science and engineering.