A common method for reducing carbon emissions and the load-bearing pressure of buildings, and while also achieving improved energy conservation is to prepare porous magnesium-based lightweight composites to reduce waste and environmental hazards. However, due to internal stress, the pores of traditional lightweight composites crack easily and collapse, resulting in composites that are brittle with poor water resistance. These materials cannot achieve both low density and high strength, which limits their application in advanced functional materials. Thus, learned from nature, inspired by swall...