|"Well, I think we should put it back in order for them, don't you?"|
Some wizards and witches have the ability to talk to animals.
For instance, a Parselmouth can speak to snakes. This ability is extremely rare. Salazar Slytherin was an infamous Parselmouth, and his descendants, such as Lord Voldemort, inherited this trait. Harry Potter also acquired this ability when part of Voldemort's soul bonded with him the night he tried to kill Harry. When the piece of Voldemort's soul inside him was destroyed, Harry thought he lost the ability but 22 years later he used parseltongue to open the secret room of Delphi.
Other wizards, like Rubeus Hagrid and Newt Scamander for example, have an innate ability to communicate and bond with all kinds of animals. Animagi have also demonstrated being able to subtly influence animals while assuming their animal forms.