Let us understand the law of offside which in fact not all understand it. To understand better, consider these two things – the offside position and the offside offense. To be in the offside position is not an offside offense. What is offside position? A player is an offside position when he (in the opponent’s half of the field) is nearer to the opponent’s goal line than both the ball and the second to the last opponent. By the way, the goalkeeper is considered to be the last opponent.
If the player is on his half of the field, the player cannot be on his offside position. If the player is aligned with or behind the ball, the player is not on the offside position. Also, when the player is aligned with the second to the last opponent, the player is not on the offside position. Being in an offside position could be an offense if the player who is the offside position is involved in active play.
Active play involves kicking the ball, keeping the defender from seeing or playing the ball. Also, when the player gains an advantage by being in an offside position, the player is penalized. It is bias. Offside position is where the player was when the ball was played. It is not where the player got to it. If the teammate who is involved in the active play does not pass the ball to the teammate who is in the offside position, there is no penalty.