A car engine's primary function is to convert the chemical energy stored in fuel (like gasoline or diesel) into mechanical energy, which then powers the car's wheels, causing it to move. This process typically involves an internal combustion engine, where fuel is burned within cylinders, generating heat and pressure that drives pistons, which in turn rotate the crankshaft, ultimately propelling the vehicle.