The RTE Act aimed to provide free and compulsory education to children aged six to fourteen years, ensuring education as a fundamental right.