Sleep deprivation

Anna

Is it true that the baby won’t start sleeping for more than 2-3 hours at a time until they are 5-6 months old? If that’s the case, how do you make it that long without a full nights sleep?