Egocentricity is a term in Piaget's theory that refers to the tendency to interpret objects and events from one's own perspective.