Education was very important for the Romans even though not all Romans had access to it. The Patricians were the richest families in Rome and their children (boys only) received formal education while the poor children did not. Despite these social differences, all Romans learned to read and write.
Usually, children were homeschooled by a private tutor.
There were also public schools that were very good and strict, they studied from sunrise until sunset with a lunch break. Ancient Romans divided schools into two types, children up to 12 years old and other for older children where they would learn public speaking and writing.