structural engineering is a subset of civil engineering dealing with the design and analysis of buildings and large non-building structures to withstand both the gravity and wind loads as well as natural disasters. besides, it may also cover design of machinery, medical equipment, vehicles or any other objects where structural functionality or safety are involved. structural engineers must ensure their designs satisfy building codes.