A biscuit is a flat bit of bread or cake, a cookie is a sweet pastry.
In the UK we call cookies, the pastry, biscuits but we also call small, hard and flat bread biscuits. We make no distinction between the two and call them both biscuits. But, stereotypically if it is a biscuit with chocolate bits in it and is thicker and rounder- it is a cookie.