If you need to get rid of pet hair on a regular basis, you might find a vacuum that isn't optimized for the job leaves a lot to be desired. Most vacuums outfitted for households with pets will feature increased suction, some sort of pet tool or brush, a motorized brush roll (as opposed to sheer suction) to really dig out hair and particles, and an emphasis on its filtration system. Most pet vacuums, especially the middle to high-end options, will feature high-efficiency filters to catch pet dander, capture allergens, and prevent particles from escaping the vacuum.
Another highly sought-after feature on vacuums for pet hair are brush rolls that are self-cleaning or feature anti-hair wrap tech to ensure that strands of hair don't wrap around and eventually clog the brush roll. Some are more effective than others, but we've had great luck with Shark's Anti-Hair Wrap Tech.