Answer
Training data is the data used to teach a machine learning model, while testing data is a separate set used to check how well the model performs on examples it has never seen before.
Real-world example A bank builds a loan approval model on data from the last five years and tests it on the most recent six months of applications to see how it would have performed in practice.