Maven is a build automation tool used primarily for Java projects that handles dependencies, builds, reporting, and documentation. It uses a Project Object Model (POM) XML file to manage a project's build process and dependencies. Maven's goals include making the build process easy, providing a uniform build system, providing quality project information, and allowing transparent migration to new features. It works by resolving dependencies, downloading necessary jars, and invoking plugins in build phases defined in the POM.