Hundreds and thousands is an idiomatic expression used to mean "an indefinite but emphatically large number". Although similar to and sometimes regarded as an error for "hundreds of thousands", it is in fact not so definitely large.
It is also a name for a kind of decorative confectionery consisting of tiny coloured beads of sugar, commonly used in the United Kingdom, Australia and New Zealand. Similar confections include: