If you've mistakenly typed "kosmar" instead of the intended word, a few possible corrections come to mind. Perhaps you meant "cosmar", which means nightmare in Romanian. Another option could be "komar", a word used in Slavic languages for mosquito. Lastly, "cosmarium" is a botanical term referring to a type of alga.