What does the Word Philosophy Mean?

The word philosophy means a system or way of thinking. My friends philosophy in life is to eat, sleep, and be merry. Philosophy can also mean a field of knowledge that dwells more deeply into the truths and principles behind certain ideas.