Ecology (from Greek: οἶκος, "house"; -λογία, "study of"[A]) is thescientific analysis and study of interactions among organisms and their environment, such as the interactions organisms have with each other and with their abiotic environment. Topics of interest to ecologists include the diversity, distribution, amount (biomass), number (population) of organisms, as well as competition between them within and among ecosystems. Ecosystems are composed of dynamically interacting parts including organisms, the communities they make up, and the non-living components of their environment. Ecosystem processes, such as primary production, pedogenesis, nutrient cycling, and various niche construction activities, regulate the flux of energy and matter through an environment. These processes are sustained by organisms with specific life history traits, and the variety of organisms is called biodiversity. Biodiversity, which refers to the varieties ofspecies, genes, and ecosystems, enhances certain ecosystem services.