What is Samkhya?

Samkhya is the philosophical system from which ayurveda draws the cosmological understanding of matter and evolution.