A set is locally connected if, for every point in the set, there exists a connected neighborhood around that point.