How is a mechanical engineer different from a civil engineer?

Mechanical engineers focus on machines and mechanical systems, while civil engineers design infrastructure like buildings, roads, and bridges.