Pets can help with depression in various ways. They provide companionship, promote physical activity through walks and playtime, offer routine and structure to the day, and can increase levels of oxytocin and dopamine in the brain, which are known as "feel-good" hormones. Additionally, caring for a pet can give a sense of purpose and responsibility, and the unconditional love and non-judgmental support from a pet can help reduce feelings of loneliness and boost overall mood.