Camunda cockpit, tasklists usage in production

Hi all, Just now started to learn camunda. My understanding is like we need to create bpmn diagram in camunda modeler and save to our project and then build and deploy our project will generate a process.

So to integrate this with real time applications, we need to use runtimeservice class to start that instance. and to generate the tasks and task information all these how we will be displaying these things in real time application?

Cockpit and tasklists are used only for local setup? is there any relation with production environment like can we deploy bpmn directly to production/higher environments apart from local using cockpit tool?