Allotropy is like when you have a toy that can be either a car or a robot, depending on how you build it. Sometimes things can be different shapes or structures, even though they're made of the same stuff.
For example, imagine a bunch of crayons. If you melt them and let them cool down, they might look different depending on how you do it. You could end up with different types of crayons that have different properties, like melting at different temperatures or being harder or softer. These different types of crayons are called "allotropes" of crayon.
The same thing can happen with elements, which are like the building blocks of everything. Some elements can exist in different forms that have different properties. For example, carbon can be a soft black powder (like the kind you might find in a charcoal grill), but it can also be a shiny, hard, clear material (like in a diamond). Those are two different allotropes of carbon.
Scientists study allotropy to learn more about how atoms and molecules work together and how different materials can be made. It's kind of like figuring out how to build different toys from the same set of blocks, or how to make different kinds of cupcakes from the same batter.