Why F1 tires have no treads?

F1 tires have no treads because it provides a better grip with the track surface in dry conditions. Better grip makes the car more stable, which is vital in a sport like F1. However, in rainy conditions, teams will often opt for tires with treads. F1 tires have no treads because it improves their ability to race.