A truss can be thought of as a beam where the web consists of a series of separate members instead of a continuous plate. In the truss, the lower horizontal member (the bottom chord) and the upper horizontal member (the top chord) carry tension and compression, fulfilling the same function as the flanges of an I-beam. Which chord carries tension and which carries compression depends on the overall direction of bending. In the truss pictured above right, the bottom chord is in tension, and the top chord in compression.