You provide the money, and the bank manages it in compliant investments.
Steps
Profits are distributed according to agreed-upon rules.
Don't take the expected return for granted; understand how profits are distributed, the account risks, and liquidity.
The figures, fees and limits in this answer vary by bank and change over time — confirm them with your bank or the official source before acting.