A flat battery is an almost completely discharged battery
Typically this happens if you leave your lights on overnight, or leave your car sitting for an extended amount of time. This may also be caused by a faulty alternator.
Some batteries can be damaged if they are drained entirely and may require reclacement.