Pets can have both positive and negative effects on sleep quality. On one hand, having a pet in the bedroom can provide comfort and a sense of security, which may help some people fall asleep faster and sleep more soundly. However, pets can also disrupt sleep by snoring, moving around, or demanding attention during the night. It ultimately depends on the individual and their pet's behavior.