When mobs take damage from a player, their health will display above their heads along with their name.This display lasts several seconds before fading.