Why lipid profile test done in fasting?

Why lipid profile test done in fasting?

You’re generally required to fast, consuming no food or liquids other than water, for nine to 12 hours before the test. Basically fasting state is essential for triglycerides estimation because it remains high for several hours after meal .