You are conducting the Make or Buy Analysis, which is carried out in Plan Procurement. The purpose of this analysis is to determine whether you will do a certain task yourself i.e done by your organization itself, or will it be done by an external supplier or contractor.