One team is told they're building software to help students record their classes on automated basis (based on time/location). Another team repurposes that code into an API that can be added to random mobile games for chatting with other players. Nobody really ever knows where their code is ending up, and nobody ever directly built the functionality knowing its intended purpose.