wagging tail at the end riddle

Riddle

I stand on four legs and a wagging tail at the end, I bark when I see strangers or my friend.

    Dog