In Japan, the names biscuit and cookie are both used, but they actually mean the same thing.
However, in the confectionery industry, there is a rule that handmade-style cookies that contain a lot of sugar and oil can be called cookies, and they are sometimes used differently.
It is called a biscuit in the UK, a cookie in the US, a biscuit in France, and a biscuit in Germany.
In the United States, biscuits refer to soft pastries, but it seems that the distinction between biscuits and cookies is not very clear depending on the country.