Polenta and grits are both dishes made from ground corn, but they differ in the type of corn used: polenta is typically made from yellow corn, while grits are made from white or yellow corn, resulting in varying textures and regional associations.