A commitment is defined as an official court order to send someone to prison or to a mental hospital.(noun)
An example of commitment is someone being sent to jail after being found guilty of a DUI.
The definition of a commitment is a promise or agreement to do something.(noun)
See commitment in Webster's New World College Dictionary
See commitment in American Heritage Dictionary 4
Learn more about commitment