A creature with flying can only be blocked by creatures with flying or reach.
Keyword glossary › Flying
Flying is an evasion keyword. When a creature with flying attacks, the defending player can only block it with creatures that also have flying or that have reach. Any other creature simply can't get in the way, no matter how big it is.
A creature with flying can block creatures with or without flying. The restriction only applies to who can block it, not who it can block. So a flier on defense is just a normal blocker that happens to be hard to block on offense.
Flying does nothing outside combat. It doesn't protect the creature from spells, abilities, or damage from sources other than combat.
Attack with a 3/2 flier into a bigger ground creature, then into a creature with reach. Step through it, or press Play all.


Before combat
You control Delivery Moogle, a 3/2 with flying. Your opponent controls Gigantoad, a 4/4 with no flying and no reach. On the ground, Gigantoad would win any fight.
These are real Magic cards. The example only covers the abilities that matter to it.
Real cards with flying. Look any of them up in the card search to compare every printing's price.