Civil engineering focuses on the design, performance, and maintenance of public infrastructures, such as buildings, airports, water systems, and roads, while mechanical engineering uses physics and mathematical principles to create, modify, maintain, and test mechanical machines or systems. Civil engineering assesses the feasibility of a given project by evaluating design practicality and functionality, ensuring that government regulations, specific codes, and law requirements are met. On the other hand, mechanical engineering is applied in various areas and industries, including internal combustion engines, airplanes, aerospace, ships, and robotics. The average salary of a civil engineer is $81,047 per year, while the average salary of a mechanical engineer is $82,800 per year.