Hermione bit her tongue. She knew that an inferius was similar to what a muggle thought a zombie was. Either way, it was necromantic magic on a corpse, bringing it to life. Usually they followed very simple instructions––defend here. Don’t let anyone pass. Kill everyone. And a more powerful witch or wizard was able to have their magic imbued with more nuance so that such creatures didn’t hurt themselves or their followers, for example.