Keys are used to receive or send crypto. The public key allows others to make payments to the address derived from it. The private key enables output from this address.
In the case of Trade Republic, all keys are held by BitGo Europe GmbH, a crypto custodian with BaFin approval, to ensure the necessary security of customer property.