The article addresses the role of science in the present global ecological crisis, both as a factor in bringing it about and as a means to confront it. It is argued that the history of science, pursued in a global and long-term perspective, is an important knowledge resource for understanding the development of science in society. Pivotal episodes from that history, ranging from the origin of science in antiquity via the early modern scientific revolution to recent developments in industrial societies, are discussed with a particular emphasis on the case of China and with a view to the present crisis.