Is there a stack for automatic populate dropdown lists?

I am looking for a stack that can populate the options for a second dropdown.

Example: I select the car: Audi, then the second dropdown should show the Audi models and after selecting A3 it should show the engines on the third dropdown. If I select the engine, it should show custom info about the engine.
MySQL, CSV, etc.

I think it is a regular task and I wonder if there is not stack for this and I have to code it by myself…

Any idea?