Helicopter flying on Mars is an art in itself, because the planet has a much thinner atmosphere than Earth. A helicopter wing rises because the air pressure above it is lower than below it, but on Mars it is very difficult to create a large enough pressure difference. An ordinary drone would therefore not get off the ground on Mars.
Ingenuity was specially designed for this mission and has a huge propeller (1.2 meters) compared to the weight (1.8 kg). It consumes energy to keep the device in the air. All the more because all kinds of measurements have to be done at the same time and, as mentioned, the battery must also keep the equipment warm at night.
Watch in the video below in 1 minute what NASA does and did, and read on below: