Introduction to cosmic inflation and dark energy. (2020)