Miscarriage vs. Chemical?

What’s the difference between these 2? I just found out about chemical pregnancies once I started using this app but I’m not sure what the difference is.