Definition of pact

What does the word pact mean?