A rock tumbler is a machine used to transform rough rocks into polished gemstones. It works by tumbling the rocks in a barrel with abrasive grit and water for a certain period of time. The tumbling action gradually smooths and polishes the rocks, resulting in beautifully polished stones.