What’s the point of concept cars?

Concept cars look beautiful and futuristic, but why spend millions on them if they’re never going to make it into production?