What is the primary purpose of an engine implementation in software development?
A. To enhance user interface design
B. To optimize database performance
C. To execute algorithms and perform calculations
D. To manage network protocols