How carbon monoxide can get in cars

How do carbon monoxide leaks happen in cars? And how can you detect them?