A domestic animal kept for enjoyment or as a companion is called a pet.