If a player of a team is on the other side of the field behind all the players (or behind the defenders) but still in front of the goalie, then this person is in an offside position. This, however, is NOT offside. It is not against the law of soccer to be in an offside position. Now say that person is in an offside position and his/her teammate passed the ball to him/her and that person plays or touches the ball, that is considered offside. That is illegal in the law of soccer. Say the other teammate passed the ball to his/her teammate in an offside position but the person doesn't make a move to go for the ball, then that isn't considered offsides, and therefor is not considered illegal in the law of soccer.
A player in an offside position is only penalised if, at the moment the ball touches or is played by one of their team, they are , in the opinion of the referee, involved in active play by:
> interfering with play
> interfering with an opponent
> gaining an advantage by being in that position
In doing this the attacking player will between the last defender and the defending goalkeeper when the ball is played to them . If the attacking player is in line with a defending player (not the goalkeeper) then no offside offence has been committed