Trusses are simply built out of triangles - and they are actually defined as such. Some member will be in tension and some members will be in compression (about half). The trick, and at times difficulty, is to determine which members are in tension and which members are in compression. We can simplify things by recognizing there are only two types of triangles in trusses. One that has two tension members, and one has only one tensions member (tension = rope, compression = wood in below image)...
If I extend this into a longer truss and simply replace the compression member with the tension member, we have...
Do you see the two types of triangle? Also as you can see, the bottom chord is in tension and the top chord is in compression. The trick to determining which diagonal or vertical member is in tension or compression, is ask if they follow the same curve as a hanging chain would between the two end points. If they do, they are in tension, if not, they are in compression.
This is a stable truss for gravity loads...
What is really interesting about changing out the sticks for strings when they are in tension, is the fact that the entire truss can now be folded! Check it out...
Think about how this can be extend to designing and building folding architecture, temporary construction, or tents etc.