Releasing Pet Function

What are the reasons for deleting pets besides gaining some expertise potions and also what are the reasons for keeping so many pets?