Answer
An LSM tree first puts writes in an in-memory memtable, flushes it to disk as immutable sorted files called SSTables, and merges those files in the background, which is called compaction.
Also accepted: mem table for memtable; SSTable, sorted string tables, SS tables, SST files, SSTs for SSTables; compacting for compaction.
Why
A write-ahead log alongside the memtable keeps writes safe until the flush.