If you want your dog to sit on command, you may give him a treat every time he sits for you.
The answer to your question is,
Transduction.
-Mabel <3