Okay, so you know how when you have your toys, you can arrange them in different ways? Sometimes you put them in a line, and other times you put them on top of each other like a stack.
Well, liquids and glasses have little toy pieces called atoms or molecules. But instead of playing around with them, they stick together on their own without anyone touching them!
In a liquid, the atoms or molecules are still moving around and can change positions easily, so the liquid can flow and take on the shape of whatever container it's in. But in a glass, the atoms or molecules are more stuck in place and can't move around as easily. That's why glass is usually solid and keeps its shape no matter what.
Think of it like a group of toy cars. In a liquid, they can easily move around each other and go wherever they want. But in a glass, they're all stuck in place like they're parked in a garage.
So liquids and glasses have these tiny toy pieces that stick together, and they can either move around easily in a liquid or get stuck in place like a glass. Pretty cool, huh?