Rocker and roller bearings allow horizontal movement and rotation of bridge structures, reducing stress caused by load shifts and temperature variations.