Offsides. There has to be one opposing player between the attacker and the goal.
The linesman signals the referee whether the rule was followed.