What is the meaning of [Pay an arm and a leg for something]

To pay a lot of money for something. You can also say that something “costs an arm and a leg.”