Why do you have truss bridges?

Truss bridges are lighter than beam girder bridges. They take up more height but are strong and carry loadd in tension and compression rather than bending.