system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: why did cars used to have their engines in the back, then with more modern cars the engine was moved to the front, then with some sports cars the engine is in the back again?

ELI5: why did cars used to have their engines in the back, then with more modern cars the engine was moved to the front, then with some sports cars the engine is in the back again?
gpt
Most of the high end sports cars put the engine behind the driver, but ahead of the rear axle for better weight distribution.  These are considered mid-engined cars.  A car with 50/50 weight distribution front to back will be more stable, easier to control and faster through curves.