Are glasses and corrective lenses the same thing?

Yes, but. Glasses are corrective lenses, but not all corrective lenses are glasses. Contact lenses would also fall into this description. You could even add intraocular lenses to the list if you were being comprehensive.
Generally. Corrective lenses adjust the focus - they can be glasses or contact lenses.