The scientific study of the distribution and abundance of organisms and the interactions that determine distribution and abundance. This definition encompasses not only the plants and animals that Haeckel recognized but microscopic organisms such as Bacteria, Archaea and protozoa, as well.