* Profiter de quelque chose: to benefit from something.
* Profiter d'une occasion: to take advantage of an opportunity.
* Profiter de quelqu'un: to take advantage of someone.
The word "profiter" is a versatile verb in French and its meaning can change slightly depending on the context.