You aren’t paying “property tax”. Property tax is for a real estate property you own.
You are likely paying registration. This pays for roads, licensing, towing abandoned vehicles, impound lots, employees at the DMV, license plates, enforcement of registration and emissions, etc.
If you’re paying sales tax, you can go to your county/city tax office and see a breakdown of where every dollar goes.