Doubt regarding eudiometery

Logic hunter
I know how to solve problems of eudiometery but i don't understand a really basic thing ie how come gases occupy different volumes in an eudiometery tube. (For eg: 15ml of hydrocarbons with 320ml other gases). Gases occupy entire volume of the container, right. So shouldn't all gases occupy the same volume equal to the volume of eudiometery tube?

Last edited: