Students may handle stressful situations better if they have a pet