Minecraft wiki entry for Target_selectors, associated text: Targets the entity (alive or not) that executed the command. It does not target anything if the command was run by a command block or server console.