You pay private driving schools to 1) rent a car and 2) for lessons. There are no lessons offered through normal school itself, save for some select places and maybe some colleges.
If there are some select public schools that teach students to drive, I certainly never have heard of it before. The private driving schools though, yeah, I definitely know those are real. Various insurance companies give discounts to minors with drivers licenses if they pass said school I believe.
US here. At my high school, Driver’s Ed was in the curriculum. We were taught the various laws and got a manual to study from, but we never got behind the wheel. At the end of the course (which I believe was a quarter in length), we got to take the written test, and if we passed, we got our learning permit. That would allow you to drive with supervision (including driving lessons) until you became 17 and passed the driving test.
In regards to the original post, we never got that sort of stuff. Around homecoming and prom, there was a special police car parked near the school whose back half was painted to resemble a taxi, and had “Choose your ride” written on it.
It really depends on what state you live in. My school only offered summer driver's ed. Only knew one person who took it. I never had a class on how to drive. My parents taught me, I took a written test, a 2hr long seminar on driving safely, and a practical test.