Chemical vs Miscarriage

What's the difference between a chemical pregnancy and a miscarriage?