You know that little indestructible

You know that little indestructible black box that is used on planes, why
cant they make the whole plane out of the same substance?