To give an arm and a leg means to pay a huge amount of money for something.
1. Ritika’s best friend was prepared to give an arm and a leg to ensure that Ritika got the best medical treatment.
2. The film star paid an arm and a leg to add the famous painting to his art collection.