What is the difference between classification and regression in machine learning, and when should we use each one? Can you give a real-world example for both?