Quick Architecture Question

Hello,
I have a brief architecture on Task Engine 7.1.2

Does the task engine “live” in MWS or in the IS ?
How does MWS connect to IS on things related to Task Engine ? (Meaning Web Services, Broker Documents, etc)

Thanks in advance

“Task Engine” lives in MWS and it’s associated DB schema. IS has a Task Client that is used to talk with the MWS services that are exposed.