Quick question

What is a chemical pregnancy and how do you know if you had one ?