Why are uncharged pieces of dielectric attracted to charged bodies?

In an electric field, the dielectric is polarized, i.e. displacement in opposite directions of opposite charges that make up the atoms and molecules of matter. So the nearest surface of the dielectric acquires a charge whose sign is opposite to the sign of the charged body.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.