Explain the theoretical foundations and engineering implications of fluid mechanics, highlighting fundamental principles such as fluid properties, conservation laws, and flow behavior, and their relevance in the design and analysis of mechanical systems and devices.