I'm confused but can someone help

what's the difference between a chemical and miscarriage are they not the same thing.... I never ever heard of a chemical pregnancy now it's a normal tho g to happen it happened to me but what is it and how is it diffrent and when you do have af in a chemical and miscarriage how r they diffrent I'm sorry it might be stupid question but I just thought if your pregnant and lose it it's a miscarriage.. and baby was there developing😔😔😔 thank you for taking the time out to answer this question