I came across an article called “Do Dogs Have Feelings?” by Michael Arbeiter. My answer before reading it is, YES, all animals do!
This article mentions that dogs feelings (or emotions) can be things like fear, aggression, and panic. These feelings/emotions can cause behavior problems. There is also joy in animals.
“If I act very, silly, that’ll produce a joy that is greater in a dog than just wagging their tail. When you’re acting goofier-maybe you’re running around in the yard or you’re playing fetch-there’s a higher level of happiness.”