(This feature requires that the Mac dates from mid-2013 or later, that all devices use the same iCloud account and that the Apple ID uses two-factor authentication instead of two-step verification.)
Going forward when your Mac or an app wants your password, your Apple Watch will provide it automatically.