Some dogs have a problem called sleep apnea where they stop breathing for a little while when they sleep.
It's most common in dogs with flat faces, like pugs and bulldogs, because their noses are a bit squished.
If your dog snorts, chokes, or gasps when they sleep, they might have sleep apnea and need to see the vet.
The vet can help your dog feel better by making them lose weight, giving them medicine, or even doing a little surgery.