What does the transfercase motor do for a 1998 Oldsmobile bravada?

Any tansfercase motor is to switch from 2 wheel drive to 4 wheel drive. It is located behide the transfer case and it has 6-7 wire plug. Only automatic push button 4 wheel drive trucks have the transfer case motor.