1.
to make use of sth well; to make use of an opportunity :
She took advantage of the children's absence to tidy their rooms.
We took full advantage of the hotel facilities.
2.
to make use of sb/sth in a way that is unfair or dishonest
SYN exploit :
He took advantage of my generosity (= for example, by taking more than I had intended to give) .