What is the basic purpose of designing a smart card?

So that it can be inserted into slots and read by special reader or can be read at a distance also.