Clipless pedals provide a high level of control while riding fast or executing moves like hopping up onto curbs or over logs—but paradoxically to the name, you have to clip in and out of them with special shoes called cleats.
Flat pedals don’t require clipping in and out, so it's easier to bail from your bike in the event of a crash. They also may also give you confidence that helps you avoid a crash.
What kind of riding will you be doing?
Road cycling: Clipless pedals offer the greatest power and efficiency; often feature cleats with a 3-hole design.
Mountain biking: Flat pedals paired with grippy bike shoes allow easy mounting/dismounting; clipless options offer more pedal efficiency, control and power while climbing, and feature 2-hole cleats.
Recreational cycling: Flat pedals or 2-hole cleats make it easier to walk, mount and dismount.
Bike commuting: Clipless pedals boost efficiency over long distances; flat pedals suit riders who want to wear regular shoes instead of cleats.