Dogs demonstrate loyalty to their human companions in various ways. Some common ways include following their owners around, showing excitement upon their return, offering comfort during times of distress, and displaying protective behaviors. Additionally, dogs often form strong bonds with their owners and seek their approval and attention, showcasing their loyalty through their unwavering companionship and dedication.