The spiritual gift of discernment is also known as the gift of "discernment of spirits" or "distinguishing between spirits." The Greek word for the gift of discernment is Diakrisis. The word describes being able to distinguish, discern, judge or appraise a person, statement, situation, or environment. In the New Testament it describes the ability to distinguish between spirits as in 1 Corinthians 12:10, and to discern good and evil as in Hebrews 5:14.
The Holy Spirit gives the gift of discernment to enable certain Christians to clearly recognize and distinguish between the influence of God, Satan, the world, and the flesh in a given situation. The church needs those with this gift to warn believers in times of danger or keep them from being led astray by false teaching. See also I Corinthians 12:10, Acts 5:3-6; 16:16-18; 1 John 4:1.