The bumper serves to absorbs the energy of low velocity collisions. The bumper deforms and absorbs the energy of a collision. Bumpers are designed to regain their original dimension after the energy of the collision has been dissipated.
Besides absorbing energy of collisions, they also serve to protect pedestrians by minimizing the impact. Some bumpers are designed to guide the people to topple over the vehicle rather than under it.