In a beam or girder bridge, the beams themselves are the primary support for the deck, and are responsible for transferring the load down to the foundation.
In both beam and girder bridges, the beams act as the main supports for the decks, transferring loads to the foundations.