What is the importance of backtesting a trading strategy?

Why is backtesting important when creating a trading strategy, and how can it help assess performance?,