A bootstrap sample is formed by drawing from an original dataset with replacement. For a dataset of N observations, draw N times; an observation may appear more than once, while others may be left out. section 9.2.1 section 9.3.3
In bagging, each sample trains a model whose predictions are later aggregated; bootstrap sampling is the first step, not another name for the whole procedure. In a random forest, a new sample is drawn for each tree, alongside random feature selection at each split. section 9.2.1 section 9.3.3
