What Are Cash Advances on Credit Cards and How to Use Them Safely

I’ve heard a lot about cash advances on credit cards, but I’m not sure how they work. How are they different from regular purchases, and are there any risks I should be aware of before using one? I want to make sure I’m using my card safely.