Apache Hadoop works by distributing data across a cluster of machines and processing it in parallel. Its HDFS (Hadoop Distributed File System) handles storage, while MapReduce processes the data.