Dyson sphere
Stellar engines are a class of hypothetical megastructures whose purpose is to extract useful energy from a star, sometimes for specific purposes. For example, Matrioshka brains extract energy for purposes of computation; Shkadov thrusters extract energy for purposes of propulsion. Some of the proposed stellar engine designs are based on the Dyson sphere.