Simply speaking: a larger one can have a smaller one on it, while a smaller one cannot have a larger one on it.
The smallest yellow circle can be placed on circles of any color, causing them all to disappear. You can drag the circles from each cell with your mouse.