Pets can help with depression in several ways. They provide companionship, reduce feelings of loneliness, increase physical activity through exercise like walking a dog, and offer unconditional love and support. The presence of a pet can also lower stress levels and boost mood by increasing the release of feel-good hormones like oxytocin and dopamine. Additionally, caring for a pet can provide a sense of purpose and routine, which can be beneficial for someone struggling with depression.