When you practice the piano or voice or some other instrument, you are training your ear. First, the point is to teach the ear to focus its listening. Turning off other noises will help in that training. Some even need to stop the clicking of a clock in the room for this purpose.