Doc a tot explained

Soo im really confused why are doc a tots safe? Wouldnt they be just like bumper pads? If the baby rolls over and their face goes into the side of it. Help this momma out!!