Is principle used to mean the same thing in the next two sentences?

The principle of the internal combustion engine.

The principles of democracy.
the same meaning