Sleeping with a baby is important to make sure that they do not fall off the bed or crib.