Both church and chapels had Sunday schools, which not only promoted religious knowledge and Christian ideals but also gave basic literacy skills to many poor children.