It's difficult to pour wine without leaving the sediment behind.
When I finished the coffee, there were grounds left at the bottom of the cup.
Kana spelling is common in everyday writing, especially when the kanji is considered difficult or obscure.
おり is a native Japanese word for sediment, lees, or dregs. 澱 is a semantic spelling representing the same meaning.