Once you unlock the Vivarium in the Room of Requirement, beasts can be tamed and cared for. Special beast items may be obtained from your pet.
Pets cannot be automatically brushed, but you may as well automate the feeding of pets by purchasing and putting the Beast Feeder in the Vivarium.
In Hogwarts Legacy, how do I get the Beast Feeder?
The Beast Feeder spellcraft may be purchased for 1,200 gold at the Spells and Tomes shop in Hogsmeade's south section. Once you have purchased the Beast Feeder spellcraft, return to your Vivarium to configure it to automatically feed your pets.
Enter the Vivarium and select the Conjuring spell to set up the Beast Feeder. Your pets will be automatically fed once you have placed the Beast Feeder.
In the Hogwarts Legacy, how do you brush pets?
Now that your pets are automatically fed, you only need to brush them to get the special beast items. Open the spell menu and select the brush and place it into a spell slot. Approach one of your pets and use the spell to brush it. You should be able to collect another beast item once you have brushed it.
Here on Pro Game Guides, there are a few more questions on Hogwarts Legacy.