Take an empty glass.
1. It is really empty or does it have something inside it? Invert the glass in a container filled with water. Does water enter the glass? Now tilt the glass slightly. Does the water now enter the glass?
2. Does water enter the glass?
3. Does the water now enter the glass?
4. Do you see bubbles coming out of the glass?
5. Can you guess what was in the glass?
Air was present in the glass due to which bubbles second to come out of the glass and water filled up the empty space that air had occupied. So, air occupies space.