This article is intended to review the recent developments in the Horndeski theory and its generalization, which provide us with a systematic understanding of scalar-tensor theories of gravity as well as a powerful tool to explore astrophysics and cosmology be... ...