candidate: The goal of defensive strategy is to prevent the opposing offense from gaining yards and scoring points , either by preventing the offense from advancing the ball beyond the line of scrimmage or by the defense taking the ball away from the offense ( referred to as a turnover ) and scoring points themselves .