Translation:I am not interested in history.
Could some explain to me what's the purpose of 对? Seen it a few times. Every time i search the only meaning of dui is right so i am confuse
So in this case it is the idiomatic equivalent of "in" in the English. That is to say that "in" does not always translate into 对 or vice versa but in this specific case it does.
对 originally wrote a full verb meaning 'to face toward'. In sentences like this, it is a Coverb whose core meaning is 'toward'. The Coverb 对 functions much like an English preposition. As with other languages I've studied, prepositions cover a variety of uses that don't match with similar prepositions in other languages, hence the variety of meanings mentioned in other posts.