The writer mentions two benefits of dog ownership: Keeping the owner alert, and relieving anxiety. So, companionship is the third benefit mentioned. It's not mandatory to have "also" there, but it's not wrong.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.