In-sample data is the data we use to train our strategy/model. Out-of-sample data is the data we test our trained strategy/model on.