Ecological technology or green infrastructure encompasses those technologies that incorporate ecosystems to replace mechanical or non-living components in a machine or a piece of infrastructure. Complex systems theory and second-law thermodynamics are used as a template to explore concepts of urban sustainability, and the role of ecological technology in this context.