Drones from companies like DJI may use different frequencies and use a wifi connection or cellular data connection to perform updates on software, however most hobby grade drones use 2.4. So no, you don't need a wifi connection to fly a drone, but drones use a similar frequency to establish control.