To be able to fly, the foremost requirements of an organism is to posses:
Wings
Flight muscles
Streamlined body
To be able to fly, the organism should possess wings to fly, their corresponding flight muscles and a streamlined body to encounter any resistance while flying in the air. Birds have developed beaks in order to be able to eat specific foods like seeds, fruit, insects, etc.