What is pi scanner and what is the difference with backtest?

Scanner scans for trade signals (opportunities) during live markets based on set conditions by user where as backtest is to test your strategies performance with historical market data.