Why is clay used for clay pots?

its kinda cuz a kind of clay dries into a glass type thing, so it works for a pot