Chemical pregnancy

What is a chemical pregnancy? Is it still a miscarriage? Do you need a d&c?