Replace leg fat with muscle?

What exercises can I do to lose fat whilst building muscle? Also what are good exercises to get a smaller waist?
Replace leg fat with muscle?
Post Opinion