Archaea are classified into several phyla, with the most prominent being Euryarchaeota, Crenarchaeota, Thaumarchaeota, and Nanoarchaeota. Each phylum contains species that have adapted to specific environmental conditions. For instance, Euryarchaeota includes methanogens, which produce methane as a metabolic byproduct, and halophiles, which thrive in high-salt environments.