The number 8 is a natural number. All the natural numbers are also whole numbers. All the whole numbers are also integers. So it belongs to all three sets.