In the context of object-oriented programming, message passing is associated with invoking methods on objects. When an object receives a message (method call), it processes the message by executing the corresponding method associated with that message. Message passing is a fundamental concept in many programming languages that support object-oriented principles.