What is a chemical pregnancy?

What’s the difference between chemical pregnancy and miscarriage?