Can ChatGPT Understand Too? A Comparative Study on ChatGPT and Fine-tuned BERT