Ernst Haeckel coined the term "Ökologie" in 1866, deriving it from the Greek words 'oikos' (house or dwelling) and 'logos' (study).