A more literary or formal word for a prostitute, often used in historical or dramatic contexts.
Etymology
Compound of 淫 (いん, 'lewdness') and 売 (ばい, 'selling'). The exact historical derivation is uncertain, but the word has been used since at least the Edo period.