Erotica, is it art or not?

Is it art? Is it literature? or a point of view different from one to another?