Leg extensions are a great exercise if you're explicitly trying to build your leg muscles. If it's leg day or you're looking for a good lower body workout, leg extensions aren't a bad way to go. You can always get a good lower body workout in with some whole body exercises, though.