Sanity in Amnesia: The Dark Descent is a feature that gives the game more realism.
You may see your sanity meter by hitting tab to open up the inventory screen and then by moving your mouse over to the brain icon.
You can lower your sanity level by completing and solving challenges.
After a certain amount of time in the dark, your sanity will begin to drain. Looking at enemies for too long also drains your sanity.