waterfall method in software development lifestyle

How does agile development compare to the waterfall method in software development lifestyle?