Prophets see future events and provide warning from God.
2 Peter 1:19-21 We have the more sure word of prophecy; and you do well that you heed it, as to a lamp shining in a dark place, until the day dawns, and the morning star arises in your hearts: 20 knowing this first, that no prophecy of Scripture is of private interpretation. 21 For no prophecy ever came by the will of man: but holy men of God spoke, being moved by the Holy Spirit.