“It's not bad... for what it is.”
There's a small, cheap pizza shop across the street from your apartment. A friend is visiting you and asks if their food is good. The food is not fancy, but it tastes OK. You answer like this.
It's not bad... for what it is.
There are a couple of reasons to say that something is "not bad".
First, you can say that something is "not bad" if it's kind of OK, but not great. For example, if you watched a movie which was kind of fun, but didn't have great acting or story, you can say:
It wasn't bad.
THe other reason to say that something is "not bad" is when you're surprised by how good something is, like this:
"Not bad" used in this way is an example of understatement.
Use this expression to talk about the limits of something, and compare it to other things that have the same limits.
For example, if a city is small and not very exciting, but is more fun than other cities of the same size, you can say:
It's a fun town for what it is.
We usually use "for what it is" in these expressions:
accept (something) for what it is
enjoy (something) for what it is
appreciate (something) for what it is
Or you can use it when evaluating something:
It's pretty good, for what it is.
There's also a similar but separate meaning of "for what it is". It can mean "the true quality of something". That's the meaning of phrases like:
recognize (something) for what it is
see (something) for what it is
For all meanings of this expression, there are also the forms "for what he is", "for what they are", "for what I am", etc.:
I wish they could just accept me for what I am, instead of always trying to change me.