The different will be on the interest that already offered.
Let's say that if COMP, maker, AAVE have the same feature called lending function. If you are comparing lending function and staking or something else even farming and the different thing is coming from the interest rate and mechanis, in lending you are lending your money to others who will paid you the interest as per the agreement that already made by the platform as the middle party between you and your borrowers but when you are doing staking and you stake your tokens to get the reward.
The same thing is also applicable to the farming as well as when you are doing farming and you need to lock dual token to be able to get the reward in the daily basis based on the APY that already offered