Assist is an assist (a pass from one player to another, from which the other scored a goal).
In football, it is very rare situations when a football player single-handedly beats the entire defense of the opponent and scores a goal. Only world-class football players are capable of such actions, for example, Messi, Ronaldo. Therefore, assists are an integral part of football.
As a rule, assists are given by midfielders (they are called playmakers). Their main task at the right time is to connect to the attack and deliver the ball to the attackers. It doesn't matter if a pass is given just a few meters or a canopy is made from the other half of the field. The main thing is that the player who received the ball scores it into the goal net.
Assist or assist followed by a successful shot on goal. A pass is considered an assist when a goal is scored after it.