What is a Cornerstone?

A cornerstone is known as something that is metaphorically the foundation to something. For example, the cornerstone of learning is having a great teacher.