Thread sizes below 1/4 confusing

What is a No 10, 8, 6, 5, 4. What does this mean. Do metric threads fit these. I want to buy 10 - 24 nuts however most of these sizes i find are metric. I have read M5 .8 will also thread on. Is this true?