Why some cars have 2 exhaust pipes?

The main reason for having a dual exhaust system is to get the leftover air out of the cylinders faster so that the next exchange can start quicker