A weighted keyboard is much better at producing acoustic piano sounds than regular electronic keyboards, which is why they are often favored over. Weighted keyboards have pre-recorded notes in them that are activated when you press a key. Some, like the Yamaha YDP143R, will try to find an equivalent acoustic piano to record from, in this case a Yamaha concert grand piano.
The precision of the sound and pitch will come out in the speakers, which again, are usually better depending on the price point. It’s important to read reviews to see how the sound will come out and what quality you can expect from each model.