Can dogs and cats sense what guns are used for?

Say you’re with a dog or cat, and they see or notice your holding a gun or weapon in your hands.—-Do they know or can they tell what a gun is?? Or would they not have any clue what’s in your hand??
6 answers 6